Description Usage Arguments Details Value Examples
View source: R/ufeatByTiling.R
split featurenames of SummarizedExperiment according to tiling, without redundancies
1 2 | ufeatByTiling(se, tiling, maxlen=20)
balancedFeatList(se, maxlen=20)
|
se |
instance of SummarizedExperiment |
tiling |
GRanges instance corresponding to a genomic tiling |
maxlen |
numeric ... list elements longer than maxlen are chopped up to have this length, to foster load balancing |
ufeatByTiling uses findOverlaps, balancedFeatList uses split on seqnames and BBmisc::chunk
a list with elements of names(rowRanges(se)) corresponding to the elements of the tiling
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
library(geuvPack)
data(geuFPKM)
library(Homo.sapiens)
au = paste0("chr", 1:22)
tg_500k = tileGenome(seqinfo(TxDb(Homo.sapiens))[au,], tilewidth=500000,
cut.last.tile.in.chrom=TRUE)
sn = ufeatByTiling(geuFPKM, tg_500k)
summary(sapply(sn,length))
sn2 = balancedFeatList(geuFPKM)
summary(sapply(sn2,length))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.