.mlinfo
and .mldose
files, as generated by the MACH and
minimac genotype imputation programs, and returns the data in a
standard format (see snpdata) that can be used by other
functions in this package.
read.snpdata.mach(fileroot, tol.af = 0.01, phenotypes = NULL, isuffix = ".mlinfo", dsuffix = ".mldose")
.mlinfo
and .mldose
)
will be appended.NULL
, a data frame of phenotypes to be merged with the
genotypes; must contain a column called MACHID which is used to
match against the first column of the mldose file.If isuffix or dsuffix end in .gz extensions, the files will be decompressed on the fly.