run_pca {debrowser} | R Documentation

## run_pca

### Description

Runs PCA on the selected dataset.

### Usage

    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

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

[Package debrowser version 1.6.8 Index]