Skip to content

Commit 533dffb

Browse files
committed
Add Phate t param
1 parent f080808 commit 533dffb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

singlecell/resources/chunks/RunPHATE.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ for (datasetId in names(seuratObjects)) {
22
printName(datasetId)
33
seuratObj <- readRDS(seuratObjects[[datasetId]])
44

5-
seuratObj <- CellMembrane::RunPHATE(seuratObj)
5+
seuratObj <- CellMembrane::RunPHATE(seuratObj, t = ifelse(is.null(phateT), yes = 'auto', no = phateT))
66
print(DimPlot(seuratObj, reduction = 'phate'))
77

88
saveData(seuratObj, datasetId)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static class Provider extends AbstractPipelineStepProvider<SingleCellStep
2020
public Provider()
2121
{
2222
super("RunPHATE", "Run PHATE", "CellMembrane/phateR", "This will run PHATE on the input object.", Arrays.asList(
23-
23+
SeuratToolParameter.create("phateT", "t", "Passed to the t parameter of phateR::phate().", "ldk-integerfield", null, null)
2424
), null, null);
2525
}
2626

0 commit comments

Comments
 (0)