pca_prep: Prep for PCA plot

Description Usage Arguments Examples

View source: R/pca_prep.R

Description

pca_prep function uses the vst/log transformed data to make a dataframe that could be used to make a pca plot.

Usage

1
pca_prep(norm_dat, var_int, ntop = 1000)

Arguments

norm_dat

data frame of normalized gene counts. Generally a made using the DESeq2.

ntop

number of top genes that you need to calculate the PCs. Default is 1000 genes.

Examples

1
pca_data_nb <- pca_prep(norm_dat = sample_vst_dd, "Group")

kra277/rnaseqviz documentation built on Feb. 6, 2022, 9:43 p.m.