Skip to content

Commit 0a39d66

Browse files
committed
Ensure AvgExpression loads needed R libraries
1 parent 528f706 commit 0a39d66

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
import org.labkey.api.singlecell.pipeline.SingleCellStep;
88

99
import java.util.Arrays;
10+
import java.util.Collection;
11+
import java.util.HashSet;
12+
import java.util.Set;
1013

1114
public class AvgExpression extends AbstractRDiscvrStep
1215
{
@@ -49,5 +52,17 @@ public boolean createsSeuratObjects()
4952
{
5053
return true;
5154
}
55+
56+
@Override
57+
public Collection<String> getRLibraries()
58+
{
59+
Set<String> ret = new HashSet<>();
60+
ret.add("Seurat");
61+
ret.add("dplyr");
62+
ret.addAll(super.getRLibraries());
63+
64+
return ret;
65+
}
66+
5267
}
5368

0 commit comments

Comments
 (0)