Description Usage Arguments Value Examples
View source: R/plot_gene_coverage.R
Create a plot showing the relationship between locus length and the proportion of gene loci covered by peaks.
1 2 3 | plot_gene_coverage(peaks, locusdef = "nearest_tss",
genome = supported_genomes(), mappability = NULL, legend = TRUE,
xlim = NULL)
|
peaks |
Either a file path or a |
locusdef |
One of: 'nearest_tss', 'nearest_gene', 'exon', 'intron', '1kb',
'1kb_outside', '1kb_outside_upstream', '5kb', '5kb_outside', '5kb_outside_upstream',
'10kb', '10kb_outside', '10kb_outside_upstream'. For a description of each,
see the vignette or |
genome |
One of the |
mappability |
One of |
legend |
If true, a legend will be drawn on the plot. |
xlim |
Set the x-axis limit. NULL means select x-lim automatically. |
A trellis plot object.
1 2 3 4 5 6 | # Spline plot for E2F4 example peak dataset.
data(peaks_H3K4me3_GM12878, package = 'chipenrich.data')
# Create the plot for a different locus definition
# to compare the effect.
plot_gene_coverage(peaks_H3K4me3_GM12878, locusdef = 'nearest_gene', genome = 'hg19')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.