bacsnp.specificity: SNP specificity determination

Description Usage Arguments Value Examples

View source: R/snp_specificity.R

Description

SNP specificity determination

Usage

1
bacsnp.specificity(vcfdf, isolates, which.rel = "REL.ALT1")

Arguments

vcfdf

A dataframe with SNP frequencies. Data was created with vcf_transformation.

isolates

A character vector for which the SNP specificity determination is performed.

which.rel

Specifies the column of relativ SNP frequencies for which the specificity determination should be performed on.

Value

A list of two elements. First element is the input dataframe with SNP specificities added. The second element is a counting talbe with all SNP specificity combinations.

Examples

1
bacsnp.specificity(bac, c("iIsolate1", "iIsolate2"), which.rel = "REL.ALT1")

wennj/bacsnp documentation built on July 13, 2020, 1:19 p.m.