count_triplets: count_triplets

View source: R/palimpsest_input.R

count_tripletsR Documentation

count_triplets

Description

Counts the number of DBS mutations that are in fact triple base substituions. Used inside "palimpsest_input2", not designed to be used outside this function.

Usage

count_triplets(vcf, ordering, mutypes)

Arguments

vcf

The input vcf file.

ordering

the ordering of samples from palimpsest_input2 function.

mutypes

The DBS mutypes from palimpsest_input2 function.

Examples

trip_nums <- count_triplets(vcf, ordering, mutypes)

FunGeST/Palimpsest documentation built on June 2, 2024, 4:21 a.m.