# Example with small data (with/without third and fourth column):
getPowerMultTSS(accept_regions = c(2,3, 0,0), alt_data = c(1,2,4,5))
getPowerMultTSS(accept_regions = c(2,3, 0.5,1), alt_data = c(1,2,4,5))
# Example with multiple rows/TSS:
getPowerMultTSS(accept_regions = matrix(c(2,3,0,0,
20,30,0.5,0.5),
nrow = 2, byrow = TRUE,
dimnames = list(c("TSS1", "TSS2"), NULL)),
alt_data = matrix(c( 1,2,3,4,
10,20,30,40),
nrow = 2, byrow = TRUE,
dimnames = list(c("TSS1", "TSS2"), NULL)))
# Example with generated TSS data:
getPowerMultTSS(accept_regions = getAccRegion(tss = c("Colless","SNI"),
n = 6L),
alt_data = getTSSdata(tss = c("Colless", "SNI"), n = 6L,
Ntrees = 20L, tm = list("aldous", -1)))
Run the code above in your browser using DataLab