Directory to write results, or object returned by mPhen.writeOutput(..)
towrite
List specifying which formats to write output - long.txt and wide.txt for standard results; qc.txt for per-sample qc output.
toplot
List specifying which formats to plot output - .qq for qq plot, .manh for manhattan; .heatm for pvalue heatmap; .fprint for fingerprint plot
geno
Genotype matrix. Note that attr(geno,"closeConnection") controls whether plots are produced, as this indicates whether all batches of genotype data have been analysed
opts
A list of options, which is obtained from mPhen.options("plot"). To get more information about these options, type
mPhen.options("plot",descr=TRUE)
Value
Returns an outputConnection, which can be used to write further results.