subset_vaf_matrix_by_id: Extract the VAFs of a specific set of variants

View source: R/manipulate_vafs.R

subset_vaf_matrix_by_idR Documentation

Extract the VAFs of a specific set of variants

Description

Extract the VAFs of a specific set of variants

Usage

subset_vaf_matrix_by_id(
  sample_meta_path,
  variant_meta_path,
  variant_id,
  return_genotypes = FALSE,
  normalize_columns = FALSE
)

Arguments

sample_meta_path

a file path

variant_meta_path

a file path

variant_id

a character vector containing one or more requested variants in the format CHROM-POS-REF-ALT

return_genotypes

a logical value. If TRUE, returns 0 or 1 values. If FALSE, returns VAFs.

Value

a tibble where the first column is the sample identifier, and all remaining columns are the variant mutations or VAFs


weinstockj/recurrent_somatic_variants documentation built on Dec. 31, 2022, 8:52 a.m.