writeGenotypeCallsToFile-methods: Write genotype calls to file

Description Arguments Details Value Examples

Description

A genotype call table or a list of tables can be written to tab-delimited file(s).

Arguments

callList

A list of genotypes calls.

genotypeCall

Alternatively, supply a single table of genotype calls

filePrefix

A prefix to add to the start of each file name. Useful to distinguish sets of genotype call results from same run.

file

The file to write to. If none specified, function will attempt to make one. Ignored if singleFile = TRUE.

singleFile

FALSE/TRUE whether to concatenate results from a list of genotypeCalls

writeParams

List call parameter values at top of file? Beware using this option when singleFile = TRUE

appendValue

Used internally to concatenate results.

Details

This function is quite flexible and can output a single table of concatenated results or a series of individual files. Call parameters can be included above each table but be careful doing this when singleFile=TRUE

Value

Writes tables in the current working directory.

Examples

1
2
3
4
5
6
## Not run: 
data("mlgtResult", package="mlgt")
my.genoytpes <- callGenotypes(my.mlgt.Result)
writeGenotypeCallsToFile(my.genotypes)

## End(Not run)

mlgt documentation built on May 1, 2019, 8:45 p.m.