compute_mutation_counts_per_sample: Compute mutation burden per sample

View source: R/manipulate_vafs.R

compute_mutation_counts_per_sampleR Documentation

Compute mutation burden per sample

Description

Compute mutation burden per sample

Usage

compute_mutation_counts_per_sample(
  sample_meta_path,
  variant_meta_path,
  variant_id,
  include_variants = 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, except for the AC column, which is the sum of the individual variants


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