Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to compare mitch enrichment results against ground truth #1

Open
markziemann opened this issue Apr 12, 2020 · 0 comments
Open

Comments

@markziemann
Copy link
Owner

markziemann commented Apr 12, 2020

ground truth = desets as shown on line 162
mitch_res$enrichment_results = observed
calculate sensitivity and sensitivity https://en.wikipedia.org/wiki/Sensitivity_and_specificity

obs <- mitch_res$enrichment_results$Set
TP = length(intersect(obs,desets))
FP = length(setdiff(obs,desets))
FN= length(setdiff(desets,obs))
TN= length(mysets) - (TP+FP+FN)

sensitivity=TP/(TP+FN)
specificity , and F1 score

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant