hcols_to_yapsa_fmt: Convert Helmsan subtype format to YAPSA subtype format

Description Usage Arguments Value Examples

Description

Convert Helmsan subtype format to YAPSA subtype format

Usage

1

Arguments

subtypes

A 96-element vector of mutation subtypes formatted as "C_A.TCG"

Value

A 96-element vector of mutation subtypes formatted as "C>A TCG"

Examples

1
2
3
4
5
6
## Not run: 
mu_counts <- read.table("/path/to/subtype_count_matrix.txt", header=T, stringsAsFactors=F)
subtypes_in <- colnames(mu_counts)[-1]
YAPSA_rows <- hcols_to_yapsa_fmt(subtypes_in)

## End(Not run)

carjed/musigtools documentation built on May 12, 2019, 10:32 p.m.