sim_find_fp | R Documentation |
This function finds the number of true negatives by finding the predictions which don't intersect with true recombination spots at all If there are no non-NA truths but some non-NA predictions, the number of false positives are equal to the number of non-NA predictions because predictions are present for breakpoints that aren't there If there are some non-NA truths but no non-NA predictions, we have 0 false positives
sim_find_fp( pred_intersect_dt, pred_dt_nona, no_truths = FALSE, no_preds = FALSE )
pred_intersect_dt |
a data table from foverlaps intersecting the predictions from rhapsodi and the truth data with columns of |
pred_dt_nona |
a data table of just the predicted data from rhapsodi with no NAs in |
no_truths |
bool, default is FALSE; if TRUE, that means there were only NAs in the truth information and no real recombination break points |
no_preds |
bool, default is FALSE; if TRUE, that means there were only NAs in the prediction information and no predicted recombination break points |
fp an integer, the number of false negatives
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.