tstv_ratio: tstv_ratio

View source: R/tstv_ratio.R

tstv_ratioR Documentation

tstv_ratio

Description

Inputs a filtered and rearranged vcf dataframe and calculates the transition/transversion ratio

Usage

tstv_ratio(df, genome_size)

Arguments

df

The filtered and rearranged variant dataframe

genome_size

Size of whole genome being used

Value

A dataframe containing the calculated transition/transversion ratio (R or basic_tstv)

Examples

tstv_ratio(example_filtered_SNV_df, 13000)

GreshamLab/vivaldi documentation built on Feb. 20, 2024, 12:32 a.m.