pcaPlot: Visualize sample relationships

Description Usage Arguments Details Value Examples

Description

pcaPlot takes a loops object plots the individual samples based on the principal components of the loop counts matrix

Usage

1
2
3
4
pcaPlot(dlo)

## S4 method for signature 'loops'
pcaPlot(dlo)

Arguments

dlo

A loops object

Details

Groups for the principal component plots are derived from colData and the normalizing factors are also taken from colData. While some loops objects may have non-informative groups or size factors, they should always be present.

Value

A ggplot2 plot

Examples

1
2
3
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
p1 <- pcaPlot(loops.small)

diffloop documentation built on Nov. 8, 2020, 5:48 p.m.