Description Usage Arguments Details Value Author(s) See Also
This function counts mapped reads from multiple BAM files that
overlap genomic intervals in genomicFeature
in a TCA
object. The counting result is stored in 'count
' slot of
the TCA
object.
1 2 | countReads(object, dir, method = "summarizeoverlaps", zero.based = TRUE,
...)
|
object |
a |
dir |
character string giving the directory where BAM files are stored. |
method |
character string giving the counting method. Options
are ' |
zero.based |
Logical. If TRUE, the start positions of the genomic intervals are 0-based, if FALSE, the start positions will be 1-based. |
... |
additional arguments passed to
|
This function provides two options 'summarizeOverlaps
' from
GenomicAlignments package and featureCounts
' from Rsubread
package to count the aligned reads. As Rsubread package is only
avaible for linux systems, Windows users can only use
'summarizeOverlaps
'. The user could specify counting details
by passing additional arguments (...), otherwise the default
settings of the two methods are used. For counting details, see
summarizeOverlaps
, featureCounts
in
Rsubread
package
A TCA object with updated 'count
' slot.
Mengjun Wu
summarizeOverlaps
, featureCounts
in
Rsubread
package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.