prepare_plot_data | R Documentation |
Prepare PCA plot data
prepare_plot_data(
projection,
pheno,
batch_name,
classification_name,
pc_x_name = "PC1",
pc_y_name = "PC2"
)
projection |
A matrix pf PCA projections stored in |
pheno |
the |
batch_name |
the column name of batch in the phenotype |
classification_name |
the column name of classification in the phenotype
|
pc_x_name |
column name for PC on X axis. Default to "PC1". |
pc_xyname |
column name for PC on Y axis. Default to "PC2". |
A data.frame
has four columns at least: pc_x
, pc_y
,
batch
, classification
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.