get_samplename: Retrieve sample name

Description Usage Arguments Value

Description

get_samplename retrieves from vcf_filename the name given to the sample in which variants were called. The retrieved sample nane corresponds to the tumor field in vcf_filename. In tumor-only variant calling, that is the only sample. In tumor-normal variant calling, it corresponds to the tumor sample.

Usage

1
get_samplename(vcf_filename)

Arguments

vcf_filename

character string naming the path to the vcf file to extract the sample name from.

Value

Character string with the name given to the sample when running Mutect2 on the data.


mmaitenat/ideafix documentation built on Sept. 18, 2021, 7:55 a.m.