run_pca: run_pca

Description Usage Arguments Value Examples

Description

Runs PCA on the selected dataset.

Usage

1
run_pca(x = NULL, retx = TRUE, center = TRUE, scale = TRUE)

Arguments

x,

dataframe with experiment data

retx,

specifies if the data should be returned

center,

center the PCA (Boolean)

scale,

scale the PCA (Boolean)

Value

pca list

Examples

1
2
3
4
    load(system.file("extdata", "demo", "demodata.Rda", 
        package="debrowser"))
    pca_data<-run_pca(getNormalizedMatrix(
        demodata[rowSums(demodata[,1:6])>10,1:6]))

nephantes/debrowser_bioconductor_release documentation built on May 29, 2019, 7:15 a.m.