Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iflint1 committed Mar 26, 2024
1 parent d3226db commit a3c6059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/chord_diagram.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ chord_diagram_plot <- function(fit,
identification <- identification[identification %in% colnames(chord_diagram)]

# Remove NAs
chord_diagram <- chord_diagram[!is.na(df[, identification]), ]
chord_diagram <- chord_diagram[!is.na(chord_diagram[, identification]), ]

if(nrow(chord_diagram) == 0) {
warning("There were no interactions to plot. This could be due to all interactions being non-statistically significant, with option only_statistically_significant active.")
Expand Down

0 comments on commit a3c6059

Please sign in to comment.