R/imputationPipeline.R
createGenomewideDosage.RdInputs are VCF files, one for each chromosome presumably.
createGenomewideDosage(pathIn, chroms, nameOfchromWiseDosageFiles)Output is an .rds (R dataset) format.
Use common naming for VCF with prefix e.g. "chr12_".
Combines "<chroms>_<nameOfchromWiseDosageFiles>".
Output is an .rds (R dataset) format.
NOTICE: This function is part of a family of functions ("imputation_functions") developed as part of the NextGen Cassava Breeding Project genomic selection pipeline.
For some examples of their useage:
Other imputation_functions:
convertDart2vcf(),
convertVCFtoDosage(),
filter_positions(),
mergeVCFs(),
postImputeFilterBeagle4pt1(),
postImputeFilter(),
runBeagle4pt1GL(),
runBeagle5(),
splitVCFbyChr()