tabToIndelsClassification: tab to Indels Classification

Description Usage Arguments Value Examples

View source: R/tabToIndelsClassification.R

Description

Convert a dataframe containing Indels into a data frame where each indel is classified as repet-mediated, Microhomology-mediated or other. A summary of the count of indels (deletions and insertions) and their proportion with respect to the total is also provided.

Usage

1
tabToIndelsClassification(indel.data, sampleID, genome.v = "hg19")

Arguments

indel.data

dataframe with indels from a single sample and the following minimal columns: chr, position, REF, ALT.

sampleID

name of the sample

genome.v

version of the genome to be used to look up the context of the indel, either "hg19", "hg38", "mm10" or "canFam3"

Value

the function returns a list with elements "indels_classified", which is a table with the indels and their classification, and "count_proportion", which is a summary of the count of indels and their proportion

Examples

1
res <- tabToIndelsClassification(indel.data,"testSample","hg19")

pdiakumis/hrdetect documentation built on May 17, 2020, 5:30 p.m.