Description Usage Arguments Value Examples
This function is able to log transform (use rlog function in DESeq2 package) count data originated from a RNA-seq experiment, and draw a PCA plot to reflect sample relationship. That's a good way to check batch effect from gene expression matrix.
1 | plot_pca(count, color, shape, color.legend = "cell", shape.legend = "donor")
|
count |
the gene expression count matrix |
color |
a character vector whose length is same as samples, different value corresponds to different point color in the plot |
shape |
a character vector whose length is same as samples, different value corresponds to different point shape in the plot |
color.legend |
the legend text corresponds to point color |
shape.legend |
the legend text corresponds to point shape |
a ggplot object
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.