inner.plotter: inner.plotter: Generate plots for each rep

Description Usage Arguments Value Examples

Description

Generate plots from AFD object for each rep.

Usage

1
inner.plotter(AFD, plotdir, xlim = c(-12, 12), ...)

Arguments

AFD

Diallel object to make plots out of.

plotdir

refers to the compound path.

xlim

limits for x-axis

...

additional arguments

Value

Makes standard plots in the specified plot directory.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## This example may take a couple of minutes
data(FluDiData, envir = environment())
data(PiximusData, envir = environment())
write.csv(FluDiData, file="FluDiData.csv")
filename <- "FluDiData.csv"
args <- c("All", "D0", "NULL", "NULL", "pre", FALSE, "Trt")
treatment 		<- args[1]
phenotype  		<- args[2]
random 			<- args[3]
fixed 			<- args[4]
type				<- args[5]
BS 				<- args[6]
trt.colname      <- args[7]
savedir			<- "."
returned <- run.tr.diallel(filename=filename, savedir=savedir, treatment=treatment, 
trt.colname=trt.colname, phenotype=phenotype, random=random,
fixed=fixed, type=type, BS=BS, thin=1, lengthChains=3000, numChains=5, 
burnin=500, force = TRUE)
plotdir <- returned[[1]]
AFD <- returned[[2]]
inner.plotter(AFD=AFD, plotdir=plotdir)

mauriziopaul/treatmentResponseDiallel documentation built on May 21, 2019, 1:37 p.m.