splitSamples {diffloop} | R Documentation |
splitSamples
takes a loops object and returns a list of loops
objects where each sample populates its own loops object
splitSamples(dlo) ## S4 method for signature 'loops' splitSamples(dlo)
dlo |
A loops object |
This function splits the colData and counts slots for each sample but makes copies of the anchors, interactions, and rowdata
A list of loops objects with one sample per index.
# Updating groups from all 'group1' to meaningful designations rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/') load(rda) split <- splitSamples(loops.small)