MVP.Data.Numeric2MVP: To transform Numeric data to MVP package Author: Haohao Zhang Build date: Sep 12, 2018
MVP.Data.Numeric2MVP(
num_file,
map_file,
out = "mvp",
maxLine = 10000,
row_names = FALSE,
col_names = FALSE,
type.geno = "char",
auto_transpose = TRUE,
verbose = TRUE
)
number of individuals and markers. Output files: genotype.desc, genotype.bin: genotype file in bigmemory format phenotype.phe: ordered phenotype file, same taxa order with genotype file map.map: SNP information
Genotype in Numeric format (0,1,2)
Genotype map file, SNP_name, Chr, Pos
the name of output file
the number of markers handled at a time, smaller value would reduce the memory cost
whether the numeric genotype has row names
whether the numeric genotype has column names
the type of genotype elements
whether to detecte the row and column
whether to print the reminder
# \donttest{
numericPath <- system.file("extdata", "04_numeric", "mvp.num", package = "rMVP")
mapPath <- system.file("extdata", "04_numeric", "mvp.map", package = "rMVP")
MVP.Data.Numeric2MVP(numericPath, mapPath, tempfile("outfile"))
# }
Run the code above in your browser using DataLab