pcHeatmap: pcHeatmap, plot to quickly find PC correlations

Description Usage Arguments Value Examples

View source: R/pcHeatmap.R

Description

Returns a PDF plot of PC by sample metric correlations. Automatically checks all numeric columns of colData(rse) against the top 10 principal components.

Usage

1
pcHeatmap(rse, pca, plotdir, width = 10, height = 10)

Arguments

rse

Gene RSE, holding phenodata and/or sequencing metrics in colData

pca

Object of prcomp() output, holding PCA information

plotdir

Path of directory to save the plot pdf

width

Integer width of plot, default 10

height

Integer height of plot, default 10

Value

Creates a PDF plot of PC by sample metric correlations.

Examples

1
# pcHeatmap(rse_gene, pca, getwd())

blackthornrx/rbnctools documentation built on Feb. 6, 2021, 12:27 a.m.