addMetadataToHeader: Add sample metadata entries to the VCF header

Description Usage Arguments Value Author(s)

View source: R/MutationTime.R

Description

Add sample metadata entries to the VCF header

Usage

1
2
3
4
5
6
7
8
9
addMetadataToHeader(
  vcf,
  purity = NULL,
  ploidy = NULL,
  sex = NULL,
  is_wgd = NULL,
  subclonal_architecture = NULL,
  cluster_power = NULL
)

Arguments

vcf

A VCF object

purity

Sample purity (Default: NULL)

ploidy

Sample ploidy (Default: NULL)

sex

Donor sex (Default: NULL)

is_wgd

Sample whole genome doubling status (TRUE if a whole genome doubling has occurred) (Default: NULL)

subclonal_architecture

Sample subclonal architecture data.frame (Default: NULL)

cluster_power

Sample vector with a power estimate per mutation cluster (Default: NULL)

Value

The VCF object with requested entries added to the metadata

Author(s)

sd11


gerstung-lab/MutationTimeR documentation built on Dec. 12, 2020, 9:29 p.m.