Skip to content
Snippets Groups Projects
Commit 480a3cdf authored by Sascha Meiers's avatar Sascha Meiers
Browse files

Propagate information about scalars into the final table (normalization)

parent 3d0c2f7c
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ makeSVCallSimple <- function(probs, llr_thr = 1) {
# Clean up table
probs <- probs[, .(chrom, start, end, sample, cell, class, sv_call_name, sv_call_haplotype, sv_call_name_2nd, sv_call_haplotype_2nd, llr_to_ref, llr_to_2nd)]
probs <- probs[, .(chrom, start, end, sample, cell, class, scalar, sv_call_name, sv_call_haplotype, sv_call_name_2nd, sv_call_haplotype_2nd, llr_to_ref, llr_to_2nd)]
return(probs[sv_call_name != "ref_hom" & llr_to_ref > llr_thr])
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment