Skip to content

Commit ad17a28

Browse files
committed
typo fixes
1 parent c3baacc commit ad17a28

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

RNAseq/Pipeline_GL-DPPD-7115_Versions/GL-DPPD-7115.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,22 +1291,22 @@ output_table$LRT.p.value <- res_lrt@listData$padj
12911291
tcounts <- as.data.frame(t(normCounts))
12921292
tcounts$group <- sampleTable$condition[match(rownames(tcounts), rownames(sampleTable))]
12931293

1294-
# Aggregate group means and standard deviations
1294+
### Aggregate group means and standard deviations ###
12951295
agg_means <- aggregate(. ~ group, data = tcounts, FUN = mean, na.rm = TRUE)
12961296
agg_stdev <- aggregate(. ~ group, data = tcounts, FUN = sd, na.rm = TRUE)
12971297

1298-
# Save group names
1298+
### Save group names ###
12991299
group_names <- agg_means$group
13001300

1301-
# Remove the 'group' column and transpose to match expected structure
1301+
### Remove the 'group' column and transpose to match expected structure ###
13021302
group_means <- as.data.frame(t(agg_means[-1]))
13031303
group_stdev <- as.data.frame(t(agg_stdev[-1]))
13041304

13051305
# Assign column names based on group names
13061306
colnames(group_means) <- paste0("Group.Mean_(", group_names, ")")
13071307
colnames(group_stdev) <- paste0("Group.Stdev_(", group_names, ")")
13081308

1309-
# Add computed group means and standard deviations to output_table
1309+
### Add computed group means and standard deviations to output_table ###
13101310
output_table <- cbind(output_table, group_means, group_stdev)
13111311

13121312
### Read in GeneLab annotation table for the organism of interest ###

RNAseq/Workflow_Documentation/NF_RCP/workflow_code/bin/dge_deseq2.Rmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ output_table$All.mean <- rowMeans(normCounts, na.rm = TRUE)
360360
output_table$All.stdev <- matrixStats::rowSds(as.matrix(normCounts), na.rm = TRUE, useNames = FALSE)
361361
output_table$LRT.p.value <- res_lrt@listData$padj
362362
# Calculate group means and standard deviations
363-
# Transpose normalized counts
364363
tcounts <- as.data.frame(t(normCounts))
365364
# Assign group labels based on `sampleTable`
366365
tcounts$group <- sampleTable$condition[match(rownames(tcounts), rownames(sampleTable))]

0 commit comments

Comments
 (0)