Description Usage Arguments Value See Also
plot_region plots the coverage of the aligned read files across the
peak_id
th element of the SegvisData
object.
1 2 3 4 5 6 7 8 9 10 11 | plot_region(object, region, ...)
## S4 method for signature 'SegvisData,GRanges'
plot_region(object, region,
nameFiles = basename(files(object)), type = "aggr", normalize = TRUE,
base = 1e+06)
## S4 method for signature 'SegvisData,numeric'
plot_region(object, region,
nameFiles = basename(files(object)), type = "aggr", normalize = TRUE,
base = 1e+06)
|
object |
a |
region |
a numeric value indicating which region to plot in the
|
... |
Any other additional parameters that |
nameFiles |
a character vector with the shortened names that are going to be used in the plot. |
type |
a character value indicating which strand to use. By default uses the aggregate coverage between both strands. |
normalize |
a logical value indicating if the profiles are normalized respect to its number of reads. |
base |
a numeric value indicating the number of aligned reads to which
the signal is going to be normalized. The default value is |
The plot_region
method returns a ggplot
object with
the desired plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.