hapVsPhenoPerSite: hapVsPhenoPerSite

View source: R/vis_phenos.R

hapVsPhenoPerSiteR Documentation

hapVsPhenoPerSite

Description

Comparie phenotype site by site.

Usage

hapVsPhenoPerSite(
  hap,
  pheno,
  phenoName,
  sitePOS,
  fileName,
  fileType = NULL,
  freq.min = 5,
  ...
)

Arguments

hap

an R object of hapresult class

pheno, phenoName

pheno, a data.frame contains the phenotypes; Only one phenotype name is required.

sitePOS

the coordinate of site

fileName, fileType

file name and file type will be needed for saving result, file type could be one of "png, tiff, jpg"

freq.min

miner allies frequency less than freq.min will not be skipped

...

addtional params will be passed to plot saving function like tiff(), png(), pdf()

Examples

data("geneHapR_test")
hapVsPhenoPerSite(hapResult, pheno, sitePOS = "4300")

geneHapR documentation built on May 29, 2024, 11:59 a.m.