Learn R Programming

vivaldi (version 1.0.1)

tstv_ratio: tstv_ratio

Description

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

Usage

tstv_ratio(df, genome_size)

Value

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

Arguments

df

The filtered and rearranged variant dataframe

genome_size

Size of whole genome being used

Examples

Run this code
tstv_ratio(example_filtered_SNV_df, 13000)

Run the code above in your browser using DataLab