tstv_ratio {vivaldi}R 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)

[Package vivaldi version 1.0.1 Index]