pca_plotter | R Documentation |
Creates a PCA plot using ggplot2
pca_plotter(
transformed_data,
sample_map,
leg_row_num = 3,
gene_num = Inf,
return_data = FALSE
)
transformed_data |
transformed (e.g., log, vst, rlog) expression data |
sample_map |
df of sample annotations |
leg_row_num |
how many rows the leg should be |
gene_num |
number of genes (ranked by variance) to use |
return_data |
whether to return the pca data |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.