Convenience function to export FImpute files directly from a `SnpMatrix` and map `data.frame`.

saveFImputeRaw(geno, map, path, xref = NULL)

Arguments

geno

A `SnpMatrix` object.

map

A data.frame with columns 'Name', 'Chromosome', 'Position', and 'SourcePath'.

path

Output directory.

xref

Optional vector of identifiers per individual (used to assign numeric chip IDs).

Value

No return value, called for side effects. The function writes three files (data.gen, data.map, and fimpute.par) to the directory specified by path and returns NULL invisibly.