EnumerateTriNucCounts: EnumerateTriNucCounts

View source: R/firevat_utils.R

EnumerateTriNucCountsR Documentation

EnumerateTriNucCounts

Description

Returns C>A, C>G, C>T, T>A, T>C, T>G counts

Usage

EnumerateTriNucCounts(spectrum)

Arguments

spectrum

a numeric vector with 96 numeric values

Details

Please note that this function assumes that 'spectrum' is sorted (i.e. 1:16 –> C>A; 17:32 –> C>G; 33:48 –> C>T; 49:64 –> T>A; 65:80 –> T>C; 81:96 –> T>G)

Value

a numeric vector of length 6 corresponding to the counts of each trinucleotide change (C>A, C>G, C>T, T>A, T>C, T>G)


cgab-ncc/FIREVAT documentation built on Nov. 19, 2022, 5:55 p.m.