| plotPCA_all | R Documentation |
GRN objectProduce a PCA plot of the data from a GRN object
plotPCA_all(
GRN,
outputFolder = NULL,
basenameOutput = NULL,
data = c("rna", "peaks"),
topn = c(500, 1000, 5000),
type = c("raw", "normalized"),
plotAsPDF = TRUE,
pdf_width = 12,
pdf_height = 12,
pages = NULL,
forceRerun = FALSE
)
GRN |
Object of class |
outputFolder |
Character or |
basenameOutput |
|
data |
Character. Either |
topn |
Integer vector. Default |
type |
Character. One of or a combination of |
plotAsPDF |
|
pdf_width |
Number. Default 12. Width of the PDF, in cm. |
pdf_height |
Number. Default 12. Height of the PDF, in cm. |
pages |
Integer vector or |
forceRerun |
|
The same GRN object, without modifications. In addition, for each specified type, a PDF file is produced with a PCA. We refer to the Vignettes for details and further explanations.
# See the Workflow vignette on the GRaNIE website for examples # GRN = loadExampleObject() # GRN = plotPCA_all(GRN, topn = 500, type = "rna", plotAsPDF = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.