Description Usage Arguments Details Value Author(s) Examples
Performs PCA on a given matrix and returns a dimension reduced matrix which captures at least 80% (default) of overall variability.
1 |
data |
An expression matrix or a SingleCellExperiment object. |
assay |
An assay to select if |
percentVar |
The percentage of variance threshold. This is used to select number of Principal Components. |
This function performs PCA to reduce the dimension of the gene expression matrix limited from 10 to 20 PCs.
Dimensionally reduced matrix.
Pengyi Yang, Taiyun Kim
1 2 3 4 5 6 7 8 | data("gse87795_subset_sce")
mat.expr <- gse87795_subset_sce
mat.pc <- matPCs(mat.expr, assay = "logNorm")
# to capture at least 70% of overall variability in the dataset,
mat.dim.reduct.70 <- matPCs(mat.expr, assay = "logNorm", 0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.