Skip to content

Commit

Permalink
Update pathway_errorbar.R
Browse files Browse the repository at this point in the history
  • Loading branch information
cafferychen777 committed Apr 1, 2024
1 parent e38f072 commit 4523890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/pathway_errorbar.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ pathway_errorbar <-
}

if (nlevels(factor(daa_results_df$method)) != 1) {
message(
stop(
"The 'method' column in the 'daa_results_df' data frame contains more than one method. Please filter it to contain only one method."
)
}

if (nlevels(factor(daa_results_df$group1)) != 1 || nlevels(factor(daa_results_df$group2)) != 1) {
message(
stop(
"The 'group1' or 'group2' column in the 'daa_results_df' data frame contains more than one group. Please filter each to contain only one group."
)
}
Expand Down

0 comments on commit 4523890

Please sign in to comment.