Description Usage Arguments Details Value Examples
View source: R/partitionShortreads.R
Get a score for each shortread in a bam file on specific positions. Scores based on a consensus matrix of longreads.
1 | getSRPartitionScores(bamfile, mats, ...)
|
bamfile |
BAM file path. |
mats |
Consensus matrix from longread clustering at positions in ppos. |
Returns a srpartition
object:
A list
with slots:
<character>; Path to the bam file used to construct the pileup
<numeric>; Positions used for scoring
A data.frame
with colums:
<character>; The read name
<integer>; Genomic position of base
<character>; Haplotype
<integer>; probability for a base at a position
Consensus matrix
A srpatition
object. See Details
.
1 | ###
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.