if (FALSE) {
#Complete examples are found in the vignette
vignette('GROAN.vignette', package='GROAN')
#Minimal example
#1) creating a noisy dataset with normal noise
nds = createNoisyDataset(
name = 'PEA KI, normal noise',
genotypes = GROAN.KI$SNPs,
phenotypes = GROAN.KI$yield,
noiseInjector = noiseInjector.norm,
mean = 0,
sd = sd(GROAN.KI$yield) * 0.5
)
#2) creating a GROAN.WorkBench using default regressor and crossvalidation preset
wb = createWorkbench()
#3) running the experiment
res = GROAN.run(nds, wb)
#4) examining results
summary(res)
plotResult(res)
}
Run the code above in your browser using DataLab