file <- system.file("extdata", "test1.csv", package="PhenStat")
test <- PhenList(dataset=read.csv(file),
testGenotype="Sparc/Sparc")
# box plot for dataset with two sexes: males and females
boxplotSexGenotypeBatch(test,
depVariable="Bone.Mineral.Content",
graphingName="BMC" )
file <- system.file("extdata", "test4.csv", package="PhenStat")
test_1sex <- PhenList(dataset=read.csv(file),
testGenotype="Mysm1/+")
# box plot for females only dataset
boxplotSexGenotypeBatch(test_1sex,depVariable="Lean.Mass",
graphingName="Lean Mass")
Run the code above in your browser using DataLab