scoreHighestSR: Get the highest scoring haplotype for each read

Description Usage Arguments Details Value Examples

View source: R/partitionShortreads.R

Description

Get the highest scoring haplotype for each read

Usage

1
scoreHighestSR(srpartition, diffThreshold = 0.001, ...)

Arguments

srpartition

srpartition dataframe with scores per read and haplotype.

diffThreshold

report reads which scores differ only below threshold to both haplotypes. Iteratively increases diffThreshold until all positions differ below threshold.

Details

Returns a data.frame object with columns:

read

<character>; The read name

Haplotype

<character>; Haplotype

Value

A data.frame object. See Details.

Examples

1
### Score

DKMS-LSL/dr2s documentation built on March 14, 2021, 2:46 p.m.