fn.cat: Collapses SNV and reference data into sequence mutation...

Description Usage Arguments Value Author(s) See Also

Description

Subroutine for baysic.fit and baysic.test which generates reduced data representations of mutation and reference data by collapsing sequence categories into single columns

Usage

1
fn.cat(dat, snv.cat)

Arguments

dat

G\times 32 ref.dat or snv.dat data matrix

snv.cat

a list of length C, where C is the number of sequence categories desired to be modeled (C≤q32). Each element of snv.cat should be a vector of character strings of trinucleotide motifs (e.g., c("ATA","ACA")) which define a group of motifs which are assumed to have the same background mutation rate.

Value

a G\times C matrix where each column corresponds to an SNV sequence category in snv.cat

Author(s)

Nicholas B. Larson

See Also

baysic.fit,baysic.test


BaySIC documentation built on May 2, 2019, 10:29 a.m.