From b1b623e9e41198f7d23be5ffecfc825e32645d6f Mon Sep 17 00:00:00 2001 From: AtaJadidAhari Date: Mon, 14 Oct 2024 15:00:09 +0200 Subject: [PATCH] print mismatch table instead of showing using DT --- drop/modules/aberrant-expression-pipeline/Counting/Summary.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drop/modules/aberrant-expression-pipeline/Counting/Summary.R b/drop/modules/aberrant-expression-pipeline/Counting/Summary.R index e7795880..4cf36709 100644 --- a/drop/modules/aberrant-expression-pipeline/Counting/Summary.R +++ b/drop/modules/aberrant-expression-pipeline/Counting/Summary.R @@ -239,7 +239,8 @@ if(isEmpty(sex_idx)){ labs(color = 'Sex', shape = 'Predicted sex', alpha = 'Matches sex') plot(g) if(sex_dt[match_sex == F, .N] > 0){ - DT::datatable(sex_dt[match_sex == F], caption = 'Sex mismatches') + print('Sex mismatches:') + print(sex_dt[match_sex == F]) } } else { g <- ggplot(sex_dt, aes(XIST+1, UTY+1)) + geom_point(aes(col = SEX)) +