Skip to content

Commit 4b3c7ac

Browse files
committed
added a flag for the new addition to findDiploidLogR
1 parent 03e9c63 commit 4b3c7ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/facets-findDipLogR.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ findDiploidLogR <- function(out, cnlr) {
113113
# cflor > cflr+0.1 because mafR can be low with 1+0 & 2+0 mixture
114114
if (sum(out1$num.mark[cflor > cflr+0.1])/nsnps > 0.05) {
115115
not1plus1 <- TRUE
116+
flags <- c(flags, paste("mafR larger than expected if", dipLogR[1], "is diploid level"))
116117
}
117118
# assume dipLogR[1] is clonal 2+2 get acn consistent with cnlr, mafR
118119
# search acn from 3+0, 2+0 & 1+0; as 2+1 looks like 2+0 with lower cf

0 commit comments

Comments
 (0)