R/save.gwaa.data.R

"save.gwaa.data" <-
function(data,phenofile = "pheno.dat", genofile = "geno.raw",human=FALSE) {
	cat("writing phenotypes...\n")
	write.table(data@phdata,file=phenofile,sep=" ",na="NA",row.names=FALSE,col.names=TRUE)
	save.snp.data(data = data@gtdata, genofile =  genofile, human = human)
}

Try the GenABEL package in your browser

Any scripts or data that you put into this service are public.

GenABEL documentation built on May 30, 2017, 3:36 a.m.