add_format_tag_from_vcf: Add a FORMAT tag from a VCF file to a master table

View source: R/utils.R

add_format_tag_from_vcfR Documentation

Add a FORMAT tag from a VCF file to a master table

Description

The function adds to 'input_table' the new column <tagName>_<methodName>, where <tagName> is 'tag' in lower case and <methodName> is 'method_name'.

Usage

add_format_tag_from_vcf(input_table, method_name, tag, vcf_file)

Arguments

input_table

A data.frame. The input master table.

method_name

A 1-length string. The name of the method.

tag

A 1-length string. The name of the tag to add. It must be exactly how the tag is written in the VCF file (case sensitive).

vcf_file

A 1-length string. The path to the VCF file from which the tag is extracted.

Value

A data.frame.


vladimirsouza/variantCallingFromIsoSeq documentation built on March 29, 2023, 1:20 a.m.