plot_pc_variance_explained: Plots the fraction of variance explained by the each...

plot_pc_variance_explainedR Documentation

Plots the fraction of variance explained by the each component based on PCA from the normalized expression data determined using preprocess_cds. This is the fraction of the component variance relative to the variance of the components retained in the PCA; not the total variance.

Description

Plots the fraction of variance explained by the each component based on PCA from the normalized expression data determined using preprocess_cds. This is the fraction of the component variance relative to the variance of the components retained in the PCA; not the total variance.

Usage

plot_pc_variance_explained(cds)

Arguments

cds

cell_data_set of the experiment.

Value

ggplot object.

Examples

  
    cds <- load_a549()
    cds <- preprocess_cds(cds)
    plot_pc_variance_explained(cds)
  


cole-trapnell-lab/monocle3 documentation built on March 27, 2024, 8:59 a.m.