splitReads: Divide read names by allele

Description Usage Arguments Value

View source: R/split_reads.R

Description

Takes a GenomicAlignments object and returns a list of read names dividied by allele.

Usage

1
splitReads(alns, v, snp)

Arguments

alns

GenomicAlignments object.

v

Nucleotide of reference (or alternative) allele.

snp

GRanges object containing SNP location.

Value

A named list of vectors, each vector containing read names for each allele.


DAMEfinder documentation built on Nov. 8, 2020, 11:10 p.m.