gt_vt_method: get the genotype and the variant type of the calls of a...

View source: R/utils.R

gt_vt_methodR Documentation

get the genotype and the variant type of the calls of a primary and secundary method

Description

Create a new data.frame from a input master table. The rows correspond to the same variants in 'input_table' and in the same order.

Usage

gt_vt_method(input_table, gt_first, gt_second, vt_first, vt_second)

Arguments

input_table

A data.frame. The input master table.

gt_first

A 1-length string. The name of the column that stores the genotypes called by a method. This method is called the first method.

gt_second

A 1-length string. If the first method does not call some variants, extract their genotype from column 'gt_second'.

vt_first

A 1-length string. The name of the column that stores the variant type called by a method. This method is called the first method.

vt_second

A 1-length string. If the first method does not call some variants, extract their variant type from column 'vt_second'.

Value

A data.frame.


vladimirsouza/lrRNAseqBenchmark documentation built on March 23, 2023, 7:32 a.m.