plotCNEDistribution | R Documentation |
Plot the CNE genomic location distribution. It gives an overview of the tendency of CNEs to form clusters.
plotCNEDistribution(x, chrs = NULL, chrScale = c("Mb", "Kb"))
x |
|
chrs |
|
chrScale |
|
In the plot, x axis is the genomic location along each chromosome/scaffold. The y axis is the sequential CNE number. A typical CNE cluster can be spotted by the dramatic increase in y axis and small increase in x axis.
A ggplot
object.
Ge Tan
plotCNEWidth
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) plotCNEDistribution(first(cneGRangePairs))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.