powered by
Comparie phenotype site by site.
hapVsPhenoPerSite( hap, pheno, phenoName, sitePOS, fileName, fileType = NULL, freq.min = 5, ... )
an R object of hapresult class
pheno, a data.frame contains the phenotypes; Only one phenotype name is required.
the coordinate of site
file name and file type will be needed for saving result, file type could be one of "png, tiff, jpg"
miner allies frequency less than freq.min will not be skipped
addtional params will be passed to plot saving function like tiff(), png(), pdf()
tiff()
png()
pdf()
data("geneHapR_test") hapVsPhenoPerSite(hapResult, pheno, sitePOS = "4300")
Run the code above in your browser using DataLab