Description Usage Arguments Details Value Note Author(s) See Also Examples
Make ‘Bed’, ‘bedGraph’, ‘BigWig’ files
from GRangePairs
for
display in other Genome Browser.
1 2 3 4 | makeCNEDensity(x, outputDir = ".",
genomeFirst = "first", genomeSecond = "second",
threshold = "50_50",
windowSizeFirst = 300L, windowSizeSecond = 300L)
|
x |
|
outputDir |
|
genomeFirst,genomeSecond |
|
threshold |
|
windowSizeFirst,windowSizeSecond |
|
The CNE density is defined as the percentage of regions covered by CNEs within the smoothing window.
The filenames of output ‘Bed’, ‘bedGraph’ and ‘BigWig’ files.
This function is mainly for internal use in Lenhard group.
Ge Tan
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
dbName <- file.path(system.file("extdata", package="CNEr"),
"danRer10CNE.sqlite")
qAssemblyFn <- file.path(system.file("extdata",
package="BSgenome.Hsapiens.UCSC.hg38"),
"single_sequences.2bit")
tAssemblyFn <- file.path(system.file("extdata",
package="BSgenome.Drerio.UCSC.danRer10"),
"single_sequences.2bit")
cneGRangePairs <- readCNERangesFromSQLite(dbName=dbName,
tableName="danRer10_hg38_45_50",
tAssemblyFn=tAssemblyFn,
qAssemblyFn=qAssemblyFn)
makeCNEDensity(cneGRangePairs[1:1000])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.