Previously rctbl_build would not work for hypeR(... test = "kstest") as the hypeR object output was missing a 'hits column.
The first commit adds a hits column by finding the leading edge index and subsetting the genes in the geneset that are within the leading edge. Calculations for p-values and fdr remain unchanged.
Previously
rctbl_build
would not work forhypeR(... test = "kstest")
as the hypeR object output was missing a 'hits column.The first commit adds a hits column by finding the leading edge index and subsetting the genes in the geneset that are within the leading edge. Calculations for p-values and fdr remain unchanged.
The second commit adds tests.