Description Usage Arguments Details Value
PCA analysis of data
1 2 3 4 5 6 7 8 |
data |
A matrix representing the genomic data such as gene expression data, miRNA expression data. |
group |
A data frame contain two columns. The first column is sample name matched with colnames of data, The second column is the cluster label of samples. |
center |
a logical value indicating whether the variables should be shifted to be zero centered. Alternately, a vector of length equal the number of columns of x can be supplied. The value is passed to |
scale |
a logical value indicating whether the variables should be scaled to have unit variance when use |
pic_title |
The title of plot. |
ellipse |
Whether add the confidence ellipse. |
Note that scale = TRUE
cannot be used if there are zero or constant (for center = TRUE
) variables.
Return a 'ggplot' object contained a PCA plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.