Description Usage Arguments Details Value Examples
sampleNames
takes a loops object returns the names of
the samples in the structure. One can also update the names using
set replace.
1 2 3 4 5 | ## S4 method for signature 'loops'
sampleNames(object)
## S4 replacement method for signature 'loops,ANY'
sampleNames(object) <- value
|
object |
A loops object |
value |
New names when using set replace |
The examples show both accession and updating sample names.
Vector of sample names
1 2 3 4 5 | rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
sampleNames(loops.small)
nnames <- c('one', 'two', 'three', 'four', 'five', 'six')
sampleNames(loops.small) <- nnames
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.