apply_boundaries: Filter data frame so all samples selected by 'index' have...

Description Usage Arguments Value

Description

Filter data frame so all samples selected by 'index' have read support greater than the boundary threshold, or 0

Usage

1
apply_boundaries(df, boundaries, index, lower_grace = 0, upper_grace = 0)

Arguments

df

A dataframe

boundaries

Estimated boundaries from estimated_boundaries

index

Columns of df to examine

lower_grace

A 'grace' number of reads: below this many reads an SV is considered absent

upper_grace

A 'grace' number of reads: if an SV is this many reads below the boundary, it still counts as present

Value

Filtered dataframe


kgori/svfiltr documentation built on May 20, 2019, 9:21 a.m.