Description Usage Arguments Details Value Examples
updateLDGroups
changes the groups
column in colData
for
a loops
object
1 2 3 4 | updateLDGroups(dlo, groups)
## S4 method for signature 'loops'
updateLDGroups(dlo, groups)
|
dlo |
A loops object |
groups |
A character vector. Lists the groups each sample belongs in |
This function updates the groups
column in colData
for
a loops
object. Make sure that the length of groups
the number of samples in colData
!
A loops object with new groups in colData
1 2 3 4 5 | # Updating groups from all 'group1' to meaningful designations
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
celltypes <- c('naive1','naive1','primed2','primed2','jurkat3','jurkat3')
loops.small <- updateLDGroups(loops.small, celltypes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.