R/UTILS.getCutoff.R
dot-getCutoff.Rd
This function finds the best cutoff to transform abundance values into binary values while optimising sensitivity and specificity values based on observations
.getCutoff(Obs, Fit)
a vector
containing binary observed values (0
or
1
)
a vector
containing relative abundance values (between
0
and 1
)