BMplotPCA: Plotting PCA function

Description Usage Arguments Value

View source: R/DESeq2_module.R

Description

Plotting PCA function

Usage

1
BMplotPCA(x, intgroup = NULL, ntop = 15000, anno_tb, pc_limit = 10)

Arguments

x

variance stabilized DESeq2 object

intgroup

which colname from metadata_csv to be output on plot

ntop

top n genes to use by variance

anno_tb

tibble of ensembl_gene_id - external_gene_id mappings for annotation

pc_limit

integer percent variance accounted by PC for inclusion in plots (default: 10%)

Value

list of ggplot2 objects for printing (PCA, PCs, loadings)


brucemoran/RNAseqR documentation built on Sept. 14, 2021, 11:08 a.m.