Description Usage Arguments Details Value
Compute long-form coverage as a GRanges object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | compute_coverage_long(
spec,
source,
.which = NULL,
.genome_info = NULL,
.drop_empty = TRUE,
.parallel = BiocParallel::bpparam()
)
## S4 method for signature 'character,missing'
compute_coverage_long(
spec,
source,
.which = NULL,
.genome_info = NULL,
.drop_empty = TRUE,
.parallel = BiocParallel::bpparam()
)
## S4 method for signature 'DataFrame,character'
compute_coverage_long(
spec,
source,
.which = NULL,
.genome_info = NULL,
.drop_empty = TRUE,
.parallel = BiocParallel::bpparam()
)
## S4 method for signature 'data.frame,character'
compute_coverage_long(
spec,
source,
.which = NULL,
.genome_info = NULL,
.drop_empty = TRUE,
.parallel = BiocParallel::bpparam()
)
|
spec |
a |
source |
a column in the data identifying the name of BAM files |
.which |
an optional GRanges object (default = NULL) to compute coverage over a region (requires the BAM file to be indexed). |
.genome_info |
a GRanges object containing reference annotation (default = NULL) |
.drop_empty |
Filter ranges if they have zero coverage over an entire contig/chromosome (default TRUE) |
.parallel |
a BiocParallel object (default = |
This function computes coverage as a GRanges object, with
a source
column containing the name of the input BAM file(s), and a
score
column containing the coverage score.
The .genome_info
argument takes a GRanges object containing
contig/chromosome information. If supplied the resulting GRanges will be
properly annotated with a seqinfo
slot. This is important for ensure the
integrity of any downstream overlap operations.
a GRanges object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.