I was trying to the branchPropTest() function with the sample.cellcomp.mean from the result of evaluate_uncertainty(). When running the proportion test, I noticed all p-values come back as 1
The variable selection for y in the t-test ( i[-c(id2)] ) subsets the row to the inverse of samples with id2, thereby leading to a t-test of id1 against itself. By removing -c( ), I was able to get the correct p-values.
Hello,
I was trying to the branchPropTest() function with the sample.cellcomp.mean from the result of evaluate_uncertainty(). When running the proportion test, I noticed all p-values come back as 1
Looking at the source code for this function, I think the issue is in line 18 of Lamian/R/branchPropTest.R
The variable selection for y in the t-test ( i[-c(id2)] ) subsets the row to the inverse of samples with id2, thereby leading to a t-test of id1 against itself. By removing -c( ), I was able to get the correct p-values.