Plot Gallery¶

Examples of the outputs from Plotting Functions implemented in the toolbox.

Draw a histogram

histogram() - Draw a histogram, optionally segmented by a second parameter.

Visualise run-order and batch correction applied

plotBatchAndROCorrection() - Visualise the run-order and batch correction applied to a dataset.

Visualise the TIC vs. run-order of a UPLC-MS derived dataset

plotTIC() - Visualise TIC for all or a subset of features in an MSDataset, coloured by class, dilution value, or detector voltage.

Interactively visualise the TIC vs. run-order of a UPLC-MS derived dataset coloured by sample type

plotTICinteractive() - Interactively visualise TIC vs. run-order for features in an MSDataset, coloured by sample type.

Interactively visualise the TIC vs. run-order of linearity reference samples from a UPLC-MS derived dataset coloured by concentration

plotTICinteractive() - Interactively visualise TIC vs. run-order of linearity reference samples from an MSDataset, coloured by dilution value.

Visualise the TIC vs. run-order of linearity reference samples from a UPLC-MS derived dataset coloured by concentration

plotLRTIC() - Visualise TIC vs. run-order of linearity reference samples from an MSDataset, coloured by dilution value.

Visualise 2D histogram of feature RSDs vs. correlations to dilution, with marginal histograms.

jointplotRSDvCorrelation() - Visualise 2D histogram of feature RSDs vs. correlations to dilution, with marginal histograms from Spectral datasets.

Visualise the features present in UPLC-MS derived dataset

plotIonMap() - Visualise the features present in an MSDataset object in terms of the original analytics. Also has a plotly-based interactive version plotIonMapInteractive().

Visualise the analytical and biological variance in discretely sampled datasets

plotRSDs() - Visualise the analytical and biological variance in Discretely sampled datasets.

Plot a barchart of variance explained (R2) and predicted (Q2) (if available) for each PCA component

plotScree() - Plot a barchart of variance explained (R2) and predicted (Q2) (if available) for each PCA component derived from a PCA model generated on Dataset datasets.

Plot PCA scores for each pair of components in PCAmodel, coloured by values defined in classes, and with Hotelling’s T2 ellipse (95%)

plotScores() - Plot PCA scores for each pair of components in PCAmodel, coloured by values defined in classes, and with Hotelling’s T2 ellipse (95%), derived from a PCA model generated on Dataset datasets.

Plot scatter plot of PCA outlier stats sumT (strong) or DmodX (moderate), with a line at [25, 50, 75, 95, 99] quantiles

plotOutliers() - Plot scatter plot of PCA outlier stats sumT (strong) or DmodX (moderate), with a line at [25, 50, 75, 95, 99] quantiles, derived from a PCA model generated on Dataset datasets.

Plot PCA loadings for each component in PCAmodel. For NMR data plots the median spectrum coloured by the loading. For MS data plots an ion map (rt vs. mz) coloured by the loading

plotLoadings() - Plot PCA loadings for each component in PCAmodel. For NMRDataset datasets plots the median spectrum coloured by the loading. For MSDataset datasets plots an ion map (rt vs. mz) coloured by the loading.

Plot of median profile with variance across all samples visualised

plotSpectralVariance() - Plot of median profile with variance across all samples visualised in Spectral datasets. Also has a plotly-based interactive version plotSpectralVarianceInteractive().

Interactively visualise PCA scores (coloured by a given sampleMetadata field, and for a given pair of components) with plotly, provides tooltips to allow identification of samples

plotScoresInteractive() - Interactively visualise PCA scores (coloured by a given sampleMetadata field, and for a given pair of components) with plotly, provides tooltips to allow identification of samples, derived from a PCA model generated on Dataset datasets.

Interactively visualise PCA loadings (for a given pair of components) with plotly, provides tooltips to allow identification of features

plotLoadingsInteractive() - Interactively visualise PCA loadings (for a given pair of components) with plotly, provides tooltips to allow identification of features., derived from a PCA model generated on Dataset datasets.

Visualise the loading of a PCA model

plotDiscreteLoadings() - Visualise loadings of a ChemometricsPCA model.

nPYc Toolbox

Navigation

  • Introduction
  • Metabolic Profiling
  • Installation and Tutorials
  • Recommended Study Design Elements
  • Datasets
  • Sample Metadata
  • Sample and Feature Masks
  • Quality Assessment Reports
  • Batch & Run-Order Correction
  • Multivariate Analysis
  • Normalisation
  • Exporting Data
  • Configuration Files
  • Enumerations
  • Utility Functions
  • Plotting Functions
  • Plot Gallery
  • Glossary

Related Topics

  • Documentation overview
    • Previous: Plotting Functions
    • Next: Glossary

Quick search

©2019, National Phenome Centre. | Powered by Sphinx 1.8.5 & Alabaster 0.7.12 | Page source