Skip to content

Commit 045c304

Browse files
Fix lint spacing in expression operators
1 parent 87976d9 commit 045c304

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/10_viral_load_stratification.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ p_volcano <- ggplot(plot_df, aes(log2FoldChange, -log10(pvalue), color = signifi
131131
geom_hline(yintercept = -log10(0.05), linetype = "dashed", alpha = 0.4) +
132132
labs(title = "Differential Expression: High vs Low Viral Load",
133133
subtitle = paste0(n_up, " up / ", n_down, " down in high viral load (FDR < 0.05, |log2FC| > 1)"),
134-
x = expression(log[2]~"Fold Change (High VL / Low VL)"),
135-
y = expression(-log[10]~"p-value"),
134+
x = expression(log[2] ~ "Fold Change (High VL / Low VL)"),
135+
y = expression(-log[10] ~ "p-value"),
136136
color = NULL) +
137137
theme_classic(base_size = 12) +
138138
theme(legend.position = "top")

scripts/11_sex_stratified_analysis.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ p_volcano <- ggplot(plot_df, aes(log2FoldChange, -log10(pvalue), color = signifi
126126
geom_hline(yintercept = -log10(0.05), linetype = "dashed", alpha = 0.4) +
127127
labs(title = paste0("Sex-Stratified DE: ", comparison_label),
128128
subtitle = paste0(n_sig, " genes with sex-differential response (FDR < 0.05)"),
129-
x = expression(log[2]~"Fold Change"),
130-
y = expression(-log[10]~"p-value"),
129+
x = expression(log[2] ~ "Fold Change"),
130+
y = expression(-log[10] ~ "p-value"),
131131
color = NULL) +
132132
theme_classic(base_size = 12) +
133133
theme(legend.position = "top")

0 commit comments

Comments
 (0)