hapVsPhenos | R Documentation |
hapVsPhenos
hapVsPhenos(
hap,
pheno,
outPutSingleFile = TRUE,
hapPrefix = "H",
title = "Seita.0G000000",
width = 12,
height = 8,
res = 300,
compression = "lzw",
filename.prefix = filename.prefix,
filename.surfix = "pdf",
filename.sep = "_",
outlier.rm = TRUE,
mergeFigs = TRUE,
...
)
hap |
object of hapResult class, generate with |
pheno |
object of data.frame class, imported by |
outPutSingleFile |
|
hapPrefix |
prefix of hapotypes, default as "H" |
title |
a charater which will used for figure title |
width |
manual option for determining the output file width in inches. (default: 12) |
height |
manual option for determining the output file height in inches. (default: 8) |
res |
The nominal resolution in ppi which will be recorded in the bitmap file, if a positive integer. Also used for units other than the default, and to convert points to pixels |
compression |
the type of compression to be used. |
filename.prefix , filename.surfix , filename.sep |
if multi files generated, file names will be formed by
prefix |
outlier.rm |
whether remove ouliers, default as TRUE |
mergeFigs |
bool type, indicate whether merge the heat map and box
plot or not. Default as |
... |
Arguments passed on to
|
No return value
data("geneHapR_test")
oriDir <- getwd()
temp_dir <- tempdir()
if(! dir.exists(temp_dir))
dir.create(temp_dir)
setwd(temp_dir)
# analysis all pheno in the data.frame of pheno
hapVsPhenos(hapResult,
pheno,
outPutSingleFile = TRUE,
hapPrefix = "H",
title = "Seita.0G000000",
filename.prefix = "test",
width = 12,
height = 8,
res = 300)
setwd(oriDir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.