Skip to content

Commit 0166aa4

Browse files
committed
Expand StudyMetadata cohorts
1 parent 8c35a13 commit 0166aa4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

singlecell/resources/chunks/StudyMetadata.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ for (datasetId in names(seuratObjects)) {
3232
seuratObj <- Rdiscvr::ApplyEC_Metadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
3333
} else if (studyName == 'PPG_Stims') {
3434
seuratObj <- Rdiscvr::ApplyPPG_Stim_Metadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
35+
] else if (studyName == 'IMPAC_TB_Human') {
36+
seuratObj <- Rdiscvr::ApplyIMPAC_TB_Human_Metadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
3537
} else {
3638
stop(paste0('Unknown study: ', studyName))
3739
}

singlecell/src/org/labkey/singlecell/pipeline/singlecell/StudyMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public Provider()
2424
{{
2525
put("multiSelect", false);
2626
put("allowBlank", false);
27-
put("storeValues", "PC475;PC531;TB;Malaria;AcuteNx;EC;PPG_Stims");
27+
put("storeValues", "PC475;PC531;TB;Malaria;AcuteNx;EC;PPG_Stims;IMPAC_TB_Human");
2828
put("delimiter", ";");
2929
}}, null, null, false, false),
3030
SeuratToolParameter.create("errorIfUnknownIdsFound", "Error If Unknown Ids Found", "If true, the job will fail if the seurat object contains ID not present in the metadata", "checkbox", null, true)

0 commit comments

Comments
 (0)