Description Usage Arguments Value Examples
Plots the gene coverage for a given gene
1 | gene.coverage.hist(PEAKS, GENE, ANNOTATION)
|
PEAKS |
A data frame containing the following columns, and potentially extras, usually found in a BED12 file, base 0 system |
ANNOTATION |
Annotations returned from read.gtf. |
GENES |
A character vector of genes to be tested |
ggplot of the gene coverage histogram
1 2 3 4 5 6 7 8 9 10 11 12 13 | gtf.path = system.file("extdata/test.gtf", package = "ConsensusPeaks")
PARAMETERS = list("GTF" = gtf, "GENE" = "ENSGXX")
annotation = read.gtf(PARAMETERS)
ensgxx = simulate.gaussian.peaks(
MU = c(100, 150),
SD = c(10, 20),
EXTEND.WIDTH = c(50, 25),
NSAMPLES = c(10, 30),
GENE = "ENSGXX",
GTF = gtf,
ANNOTATION = annotation,
SEED = 123)
gene.coverage.hist(ensgxx, "ENSGXX", annotation)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.