mtdna_test: mtdna test function

View source: R/mtdna_test.R

mtdna_testR Documentation

mtdna test function

Description

Test function for the package

Usage

mtdna_test(coverage_file, allele_file, freq_file, path)

Arguments

coverage_file

Coverage File

allele_file

Allele File

freq_file

Frequency File

path

Path

Value

character

Examples


## Not run: 
#Read input data
coverage_file <- "coverage.csv"
allele_file <- "allele.csv"
freq_file   <- "freq.csv"

coverage <- as.matrix( read.csv(file=coverage_file, sep=",", header=FALSE))
allele <- as.matrix( read.csv(file=allele_file, sep=",", header=FALSE))
freq   <- as.matrix( read.csv(file=freq_file, sep=",", header=FALSE))

mtdna_test(coverage_file=coverage, allele_file=allele, freq_file=freq)

## End(Not run)


mtDNA-BU/mtdnaANNO documentation built on Aug. 11, 2022, 10:57 a.m.