call_variants: Call Variants

Description Usage Arguments Value

View source: R/call_variants.R

Description

Call all variants from the varscan pileup2cns output given a specific trinucleotide context and the corresponding error model.

Usage

1
call_variants(i, data, flanking_seqs, error_models)

Arguments

i

Index of the FlankingSeqGroup for which the model is being generated

data

Data.Frame from generate_all_models with FlankingSeqGroup and three empty columns for parameters of model fit

flanking_seqs

String with one of 192 trinucleotide contexts in which variants may be found

error_models

Data.Frame of context specific error models generated from generate_all_models

Value

This function returns a VRanges with the following metadata:


andygxzeng/ECSI documentation built on Feb. 6, 2021, 8:53 a.m.