file <- system.file("extdata", "test1.csv", package="PhenStat")
test <- PhenList(dataset=read.csv(file),
testGenotype="Sparc/Sparc")
file <- system.file("extdata", "test2.csv", package="PhenStat")
test2 <- PhenList(dataset=read.csv(file),
testGenotype="Arid4a/Arid4a",
refGenotype="+/+",
hemiGenotype="Arid4a/+",
dataset.colname.weight="Weight.Value")
file <- system.file("extdata", "test3.csv", package="PhenStat")
test3 <- PhenList(dataset=read.csv(file),
dataset.clean=TRUE,
dataset.values.female=1,
dataset.values.male=2,
testGenotype="Mysm1/+")
Run the code above in your browser using DataLab