classify_indels: INDEL function V1 - not compartible with AlexandrovSignatures

Description Usage Arguments Value Examples

View source: R/indels.R

Description

INDEL function V1 - not compartible with AlexandrovSignatures

Usage

1
2
3
4
5
6
7
classify_indels(
  in_df,
  in_ALT.field = "ALT",
  in_REF.field = "REF",
  in_breaks = c(-Inf, -10, -3, 0, 2, 9, Inf),
  in_labels = c("del3", "del2", "del1", "in1", "in2", "in3")
)

Arguments

in_df

Input data frame containing the variances in a vcf-like format

in_ALT.field

Column number for alternitve field

in_REF.field

Coloumn number for reference field

in_breaks

Handed over to function cut

in_labels

Handed over to function cut

Value

classVector, a factor vector of indel sizes

Examples

1

slw287r/yapsa documentation built on June 7, 2020, 12:46 a.m.