| pcaPlot {diffloop} | R Documentation |
pcaPlot takes a loops object plots the individual samples
based on the principal components of the loop counts matrix
pcaPlot(dlo) ## S4 method for signature 'loops' pcaPlot(dlo)
dlo |
A loops object |
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.
A ggplot2 plot
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
p1 <- pcaPlot(loops.small)