Skip to content

Commit 5fb77dc

Browse files
committed
Support more studies
1 parent ef08c06 commit 5fb77dc

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
@@ -18,6 +18,8 @@ for (datasetId in names(seuratObjects)) {
1818
seuratObj <- Rdiscvr::ApplyMalariaMetadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
1919
} else if (studyName == 'PC531') {
2020
seuratObj <- Rdiscvr::ApplyPC531Metadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
21+
} else if (studyName == 'AcuteNx') {
22+
seuratObj <- Rdiscvr::ApplyAcuteNxMetadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
2123
} else {
2224
stop(paste0('Unknown study: ', studyName))
2325
}

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");
27+
put("storeValues", "PC475;PC531;TB;Malaria;AcuteNx");
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)