You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -17,7 +17,6 @@ Barbara Novak (GeneLab Data Processing Lead)
17
17
Amanda Saravia-Butler (GeneLab Science Lead)
18
18
Samrawit Gebre (OSDR Project Manager)
19
19
Danielle Lopez (OSDR Deputy Project Manager)
20
-
Lauren Sanders (OSDR Project Scientist)
21
20
22
21
---
23
22
@@ -1182,7 +1181,10 @@ library(DESeq2)
1182
1181
library(BiocParallel)
1183
1182
1184
1183
### Define a system-specific BiocParallelParam object to run DGE R script functions in parallel when applicable ###
1185
-
BPPARAM<- SerialParam()
1184
+
BPPARAM<- SerialParam(RNGseed=7)
1185
+
1186
+
### Set random seed for reproducibility ###
1187
+
set.seed(7)
1186
1188
1187
1189
### Define which organism is used in the study - this should be consistent with the species name in the "species" column of the GL-DPPD-7110-A_annotations.csv file ###
* {GLDS-Accession-ID}_bulkRNASeq_v{version}_runsheet.csv (runsheet, output from [Step 9a](#9a-create-sample-runsheet))
1212
1214
*`organism` (name of organism samples were derived from, found in the species column of [GL-DPPD-7110-A_annotations.csv](../../GeneLab_Reference_Annotations/Pipeline_GL-DPPD-7110_Versions/GL-DPPD-7110-A/GL-DPPD-7110-A_annotations.csv) file)
1213
-
-`BPPARAM` (system-specific BiocParallelParam object for parallel processing configuration, by default this is set to `SerialParam()`)
1215
+
-`BPPARAM` (system-specific BiocParallelParam object for parallel processing configuration, by default this is set to `SerialParam(RNGseed = 7)`)
## generate matrix of pairwise group combinations for comparison
1275
+
### Generate matrix of pairwise group combinations for comparison ###
1261
1276
contrasts<- apply(contrast.names, MARGIN=2, function(col) sub("^BLOCKER_", "", make.names(paste0("BLOCKER_", stringr::str_sub(col, 2, -2))))) # limited make.names call for each group (also removes leading parentheses)
1262
1277
contrast.names<- c(paste(contrast.names[1,],contrast.names[2,],sep="v"),paste(contrast.names[2,],contrast.names[1,],sep="v")) ## format combinations for output table files names
1263
1278
contrasts<- cbind(contrasts,contrasts[c(2,1),])
@@ -1271,6 +1286,7 @@ rm(contrast.names)
1271
1286
1272
1287
**Output Data:**
1273
1288
1289
+
*`compare_csv` (data frame containing sample names, technical replicate information if provided, and factor levels from the runsheet)
1274
1290
*`study` (data frame specifying factor levels assigned to each sample)
1275
1291
*`group` (named vector specifying the group or set of factor levels for each sample)
1276
1292
*`contrasts` (matrix defining pairwise comparisons between groups)
*`group` (named vector specifying the group or set of factor levels for each sample, output from [Step 9c](#9c-configure-metadata-sample-grouping-and-group-comparisons))
1505
+
*`compare_csv` (data frame containing sample names, technical replicates information if provided, and factor levels from the runsheet, output from [Step 9c](#9c-configure-metadata-sample-grouping-and-group-comparisons))
1428
1506
*`txi.rsem` (imported RSEM data containing counts matrix, output from [Step 9d](#9d-import-rsem-genecounts))
1429
-
-`BPPARAM` (system-specific BiocParallelParam object for parallel processing configuration, output from [Step 9b](#9b-environment-set-up))
1507
+
*`BPPARAM` (system-specific BiocParallelParam object for parallel processing configuration, output from [Step 9b](#9b-environment-set-up))
0 commit comments