simer.Data.Geno | R Documentation |
Data quality control for genotype data in MVP format and PLINK format.
simer.Data.Geno(
fileMVP = NULL,
fileBed = NULL,
filePlinkPed = NULL,
filePed = NULL,
filePhe = NULL,
out = "simer.qc",
genoType = "char",
filter = NULL,
filterGeno = NULL,
filterHWE = NULL,
filterMind = NULL,
filterMAF = NULL,
ncpus = 0,
verbose = TRUE
)
fileMVP |
genotype in MVP format. |
fileBed |
genotype in PLINK binary format. |
filePlinkPed |
genotype in PLINK numeric format. |
filePed |
the filename of pedigree data. |
filePhe |
the filename of phenotype data, it can be a vector. |
out |
the prefix of output files. |
genoType |
type parameter in bigmemory, genotype data. The default is char, it is highly recommended *NOT* to modify this parameter. |
filter |
filter of genotyped individual. |
filterGeno |
threshold of sample miss rate. |
filterHWE |
threshold of Hardy-Weinberg Test. |
filterMind |
threshold of variant miss rate. |
filterMAF |
threshold of Minor Allele Frequency. |
ncpus |
the number of threads used, if NULL, (logical core number - 1) is automatically used. |
verbose |
whether to print detail. |
Build date: May 26, 2021 Last update: Apr 28, 2022
the function returns files
the .bed file of PLINK binary format.
the .bim file of PLINK binary format.
the .fam file of PLINK binary format.
Dong Yin
# Get the prefix of genotype data
fileBed <- system.file("extdata", "02plinkb", "demo", package = "simer")
## Not run:
# It needs "plink" software
simer.Data.Geno(fileBed=fileBed)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.