Learn R Programming

simer (version 1.0.0)

simer.Data.MVP2MVP: Genotype data conversion

Description

Convert genotype data from MVP format to MVP format.

Usage

simer.Data.MVP2MVP(fileMVP, genoType = "char", out = "simer", verbose = TRUE)

Value

the function returns files

<out>.geno.desc

the description file of genotype data.

<out>.geno.bin

the binary file of genotype data.

<out>.geno.ind

the genotyped individual file.

<out>.geno.map

the marker information data file.

Arguments

fileMVP

the prefix of MVP file.

genoType

type parameter in bigmemory data. The default is 'char', it is highly recommended *NOT* to modify this parameter.

out

the prefix of output files.

verbose

whether to print detail.

Author

Dong Yin

Details

Build date: May 26, 2021 Last update: Apr 28, 2022

Examples

Run this code
# \donttest{
# Get the prefix of genotype data
fileMVP <- system.file("extdata", "01bigmemory", "demo", package = "simer")

# Convert genotype data from MVP to MVP
simer.Data.MVP2MVP(fileMVP, out = tempfile("outfile"))
# }

Run the code above in your browser using DataLab