Skip to content

Commit

Permalink
print mismatch table instead of showing using DT
Browse files Browse the repository at this point in the history
  • Loading branch information
AtaJadidAhari committed Oct 14, 2024
1 parent 8d1d368 commit b1b623e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drop/modules/aberrant-expression-pipeline/Counting/Summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)) +
Expand Down

0 comments on commit b1b623e

Please sign in to comment.