Description Usage Arguments Value Examples
getResolution
takes a sparseHiCdatum
object
and returns a list of sparse Hi-C matrices. If a list is
returned, then the names are the chromosomes.
1 2 3 4 | getResolution(obj, res, a.list = TRUE)
## S4 method for signature 'sparseHiCdatum'
getResolution(obj, res, a.list = TRUE)
|
obj |
A |
res |
Resolution(s) desired |
a.list |
= TRUE Return a list of matrices? If FALSE, return another
|
Returns object subsetted by resolution
1 2 3 4 | resolutions <- "1000000"
rds<-paste(system.file('rds',package='sparseHiC'),'hESCdatum1.rds',sep='/')
hESCdatum1 <- readRDS(rds)
r <- getResolution(hESCdatum1, resolutions, a.list = FALSE) #trivial
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.