Given the output of fullCoverage, coerce the coverage to a GRanges object.
The name or integer index of the sample of interest to coerce
A list where each element is the result from
loadCoverage used with
Arguments passed to other methods and/or advanced arguments. Advanced arguments:
Passed to define_cluster.
A GRanges object with
vector containing the coverage information for the specified sample. The
ranges reported are only those for regions of the genome with coverage
greater than zero.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
## Create a small fullCov object with data only for chr21 fullCov <- list("chr21" = genomeDataRaw) ## Coerce to a GRanges the first sample gr <- createBwSample("ERR009101", fullCov = fullCov, seqlengths = c("chr21" = 48129895) ) ## Explore the output gr ## Coerces fullCoverage() output to GRanges for a given sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.