## Not run:
# myConfig <- data.frame(ID = c("input","ip"),
# file = c("myInput.bam", "myIP.bam"),
# paired = c(FALSE, FALSE),
# experiment = factor(c(0,1)),
# stringsAsFactors = FALSE)
# myConfig2 <- data.frame(ID = c("wildtype1","wildtype2",
# "mutant1", "mutant2"),
# file = c("myWT1.bam", "myWT2.bam"
# "myMutant1.bam", "myMutant2.bam"),
# paired = c(FALSE, FALSE, FALSE, FALSE),
# experiment = factor(c(0, 0, 1, 1)),
# stringsAsFactors = FALSE)
#
# gtiles <- GenoGAMDataSet(myConfig, chunkSize = 2000,
# overhang = 250, design = ~ s(x) + s(x, by = "experiment")
# gtiles <- GenoGAMDataSet(myConfig2, chunkSize = 2000,
# overhang = 250, design = ~ s(x) + s(x, by = "experiment"))
# ## End(Not run)
Run the code above in your browser using DataLab