plotD: Plot D Matrix

Description Usage Arguments Details Author(s) See Also Examples

Description

Plot the principal components of D matrix analyzed by dPCA.

Usage

1
plotD(Dobs, labels, captions, title, saveFile)

Arguments

data

D matrix to be analyzed.

labels

Vector of the labels of experiment.

captions

Vector of the titles of principal components.

title

Title appeared on the plot.

saveFile

Logical whether to export the plot as a png file

Details

This function performs a principal components analysis on the D matrix, and plot the components per sample.

Author(s)

Qi Wang

See Also

dPCA

Examples

1
2
data(sample)
plotD(res$Dobs, c('K4me1','K4me3','K27ac','Meth'), paste0(round(100*res$proj[2,], 2), '%'))

qwang-big/irene documentation built on May 23, 2019, 1:47 p.m.