extract_fields: Extract specific fields from 'variant_files' that will be...

Description Usage Arguments Details

View source: R/extract_fields.R

Description

Extract specific fields from 'variant_files' that will be needed for the sensitivity analysis

Usage

1
extract_fields(variants, label, use_transcript)

Arguments

variants

dataframe containing all the variants in the cohort. This is created within the 'variants_power()' function.

label

character. Any label to be assigned to the current run. This is passed from the argument 'down_label' when calling the 'variants_power()' function.

use_transcript

logical. Whether transcript information is kept in the sensitivity analysis. This will be passed from 'variants_power()' and it will be equivalent to '!TCGA'.

Details

It is expected that variants were annotated with the Variant Effect Predictor (VEP) https://asia.ensembl.org/info/docs/tools/vep/index.html. This function works with VEP 0.89


annaquaglieri16/samplepower documentation built on Nov. 7, 2019, 11:43 p.m.