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