Description Usage Arguments Details Value Author(s) Examples
Make Genomic Regulatory Blocks (GRBs) boundaries prediction from a set of CNEs.
1 2 |
x |
|
winSize |
|
genes |
|
ratio |
|
background |
|
minCNEs |
|
First we calculate the CNE densities from the CNEs.
Then we segment the regions according to the values of CNE densities.
The regions with CNE densities above the expected CNE densities * ratio are
considered as putative GRBs.
Putative GRBs that do not encompass any gene are filtered out.
Finally, the GRBs that have fewer than minCNEs
number of CNEs will
be filtered out.
A GRanges
object of GRB coordinates is returned.
The numbers of CNEs and the coordinates of CNEs within each GRB are
returned as a metadata column.
Ge Tan
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(TxDb.Drerio.UCSC.danRer10.refGene)
refGenesDanRer10 <- genes(TxDb.Drerio.UCSC.danRer10.refGene)
ancoraCNEsFns <- file.path(system.file("extdata", package="CNEr"),
c("cne2wBf_cypCar1_danRer10_100_100",
"cne2wBf_cteIde1_danRer10_100_100",
"cne2wBf_AstMex102_danRer10_48_50"))
cneList <- do.call(GRangesList,
lapply(ancoraCNEsFns, readAncora, assembly="danRer10"))
names(cneList) <- c("Common carp", "Grass carp", "Blind cave fish")
seqlengths(cneList) <- seqlengths(TxDb.Drerio.UCSC.danRer10.refGene)[
names(seqlengths(cneList))]
makeGRBs(cneList, winSize=200, genes=refGenesDanRer10, ratio=1.2,
background="genome")
makeGRBs(cneList, winSize=200, genes=refGenesDanRer10, ratio=1.2,
background="chromosome", minCNEs=3L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.