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
boxplotSexGenotype(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
boxplotSexGenotype(test_1sex,
depVariable="Lean.Mass",
graphingName="Lean Mass (g)")
Run the code above in your browser using DataLab