gr.isdisc: Checks if reads are discordant

gr.isdiscR Documentation

Checks if reads are discordant

Description

Returns a logical vector denoting if a read is discordant. There is only a minimum absolute isize, and any read below this is not considered discordant. This will return logicals based on read pairs

Usage

gr.isdisc(gr, isize = 1000, unmap.only = FALSE)

Arguments

gr

Granges OR data.table that has isize field and qname field

isize

Minimum insert size required to call dis<cordant. Default 1000

unmap.only

Find only pairs with an unmapped read

Value

logical vector of length of input, denoting each read as discordant or not


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.