# NOT RUN {
# Note that you likely want to do more than 10 repitions.
# rep = 10 was chosen to have the examples run fast.
fake_methylation %>%
meth_aggregate(id = gene, value = meth, fun = mean) %>%
meth_bootstrap(10)
fake_methylation %>%
meth_aggregate(id = gene, value = meth, fun = mean) %>%
meth_bootstrap(10, method = "perm_v2")
# Get multiple bootstraps
fake_methylation %>%
meth_aggregate(id = gene, value = meth, fun = mean) %>%
meth_bootstrap(10, method = "perm_v1") %>%
meth_bootstrap(10, method = "perm_v2") %>%
meth_bootstrap(10, method = "perm_v3")
# }
Run the code above in your browser using DataLab