Skip to content

Commit dd22ffb

Browse files
authored
fix(plotting): Fix groupComparisonPlots to render when viewport dims are low (#206)
1 parent 505e961 commit dd22ffb

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.Rbuildignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
^_pkgdown\.yml$
66
^docs$
77
^pkgdown$
8-
appspec.yml
8+
appspec.yml
9+
^\.positai$
10+
^\.claude$

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
.idea
1010
*.Rproj
1111

12+
.positai

R/groupComparisonPlots.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ groupComparisonPlots = function(
369369
plot = .makeVolcano(single_label, label_name, log_base_FC, log_base_pval, x.lim, ProteinName, dot.size,
370370
y.limdown, y.limup, text.size, FCcutoff, sig, x.axis.size, y.axis.size,
371371
legend.size, log_adjp)
372-
print(plot)
372+
if (!isPlotly) print(plot)
373373
plots[[i]] = plot
374374
}
375375
if (address != FALSE) {
@@ -423,7 +423,7 @@ groupComparisonPlots = function(
423423
plot = .makeComparison(single_protein, log_base_FC, dot.size, x.axis.size,
424424
y.axis.size, text.angle, hjust, vjust, y.limdown,
425425
y.limup, sig)
426-
print(plot)
426+
if (!isPlotly) print(plot)
427427
plots[[i]] = plot
428428
}
429429
if (address != FALSE) {

0 commit comments

Comments
 (0)