Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deril2605 committed Apr 25, 2024
1 parent 186407e commit 123af6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions R/designSampleSize.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ designSampleSizePlots = function(data, isPlotly = FALSE) {
}

if(isPlotly) {
axis.size <- 10
lab.size <- 12
text.size <- 12
axis.size = 10
lab.size = 12
text.size = 12
} else {
text.size = 1.2
axis.size = 1.3
Expand Down
6 changes: 5 additions & 1 deletion R/groupComparisonPlots.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ groupComparisonPlots = function(
input = input[Label %in% chosen_labels]
input[, Protein := factor(Protein)]
input[, Label := factor(Label)]
warning("Avoid plotting all proteins as it can take a large amount of time

if(type == "HEATMAP" || type == "COMPARISONPLOT") {
warning("Avoid plotting all proteins as it can take a large amount of time
to download the files")
}

if(isPlotly & address != FALSE) {
print("Plots will be saved as .HTML file as plotly is selected, set isPlotly = FALSE, if
you want to generate PDF using ggplot2")
Expand Down

0 comments on commit 123af6e

Please sign in to comment.