Skip to content

Commit

Permalink
Support more studies
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Apr 2, 2024
1 parent ef08c06 commit 5fb77dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions singlecell/resources/chunks/StudyMetadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ for (datasetId in names(seuratObjects)) {
seuratObj <- Rdiscvr::ApplyMalariaMetadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
} else if (studyName == 'PC531') {
seuratObj <- Rdiscvr::ApplyPC531Metadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
} else if (studyName == 'AcuteNx') {
seuratObj <- Rdiscvr::ApplyAcuteNxMetadata(seuratObj, errorIfUnknownIdsFound = errorIfUnknownIdsFound)
} else {
stop(paste0('Unknown study: ', studyName))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Provider()
{{
put("multiSelect", false);
put("allowBlank", false);
put("storeValues", "PC475;PC531;TB;Malaria");
put("storeValues", "PC475;PC531;TB;Malaria;AcuteNx");
put("delimiter", ";");
}}, null, null, false, false),
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)
Expand Down

0 comments on commit 5fb77dc

Please sign in to comment.