CategorizeReads: Categorizes the reads in one sam file.

Description Usage Arguments Value

View source: R/CategorizeReads.R

Description

Categorizes the reads in one sam file.

Usage

1
CategorizeReads(sam, POS, REF, ALT)

Arguments

sam

An in-memory version of a sam file as data.frame.

POS

The position in the sam at which the DBS starts.

REF

The reference allele.

ALT

The putative alternative allele.

Value

a named character vector, the names are the read names in the sam file. Each element is one of "Read supports only 1st position" "Read supports only 2nd position", "WT read" "Mut read"

@keywords internal


steverozen/DBSverify documentation built on Dec. 23, 2021, 5:34 a.m.