simer.Data.Ped | R Documentation |
Data quality control for pedigree data.
simer.Data.Ped(
filePed,
fileMVP = NULL,
out = NULL,
standardID = FALSE,
fileSir = NULL,
fileDam = NULL,
exclThres = 0.1,
assignThres = 0.05,
header = TRUE,
sep = "\t",
ncpus = 0,
verbose = TRUE
)
filePed |
the filename of pedigree need correcting. |
fileMVP |
genotype in MVP format. |
out |
the prefix of output file. |
standardID |
whether kid id is 15-character standard. |
fileSir |
the filename of candidate sires. |
fileDam |
the filename of candidate dams. |
exclThres |
if conflict ratio is more than exclThres, exclude this parent. |
assignThres |
if conflict ratio is less than assignThres, assign this parent to the individual. |
header |
whether the file contains header. |
sep |
separator of the file. |
ncpus |
the number of threads used, if NULL, (logical core number - 1) is automatically used. |
verbose |
whether to print detail. |
Build date: May 6, 2021 Last update: Apr 28, 2022
the function returns files
the report file containing correction condition.
the file containing pedigree error.
the pedigree file after correction.
Lilin Yin and Dong Yin
# Get the filename of pedigree data
filePed <- system.file("extdata", "05others", "pedigree.txt", package = "simer")
# Get the prefix of genotype data
fileMVP <- system.file("extdata", "01bigmemory", "demo", package = "simer")
# Run pedigree correction
simer.Data.Ped(filePed = filePed, fileMVP = fileMVP, out = tempfile("outfile"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.