Description Usage Arguments Details Value Author(s) Examples
View source: R/integrate_pca.R
This function integrates multiple assays read by InputOMICs() into linear combinations using PCA. Following earlier analyses, user may want to exclude some variables/columns/cell lines which should be supplied through the "exclude" argument (see vignettes for more explanation)
PCA is done by the function PCA() from package "FactoMineR". Additional arguments may be supplied to PCA() through "..." .
1 2 | integrate_pca(Assays, name, exclude, mergetype = 1,
groupinfo = NULL, ...)
|
Assays |
A vector of names of an Assays read by "InputOMICs()" |
name |
Name of the "MultiAssayExperiment" object containing the assay data |
exclude |
A list that indicates which columns to exclude. See vignettes for details |
mergetype |
2 options : 1 = subset of groups should be entered by user and PCA is run on this subset to integrate Assays into PCs 2 = PCA is run on all groups |
groupinfo |
same as plot_density() |
... |
aditional arguments supplied to function "PCA()" from package "FactoMineR" |
The "mergetype" argument lets user decide whether to combine all groups or a subset of groups created by "create_group". If mergetype is set to 1, "integrateAssays" asks for the name of groups which should be a charatcer or charagter vector (see vignettes for more details).
"integrateAssays()" returns a list containing the start and end column of each Assay as ordered in the "Assays" argument.
Subhadeep Das <subhadeep1024@gmail.com>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.