Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atuldeshpande committed May 20, 2024
1 parent 484dd33 commit 86729d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/local/spacemarkers.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ process SPACEMARKERS {
mkdir "${prefix}"
Rscript -e 'library("SpaceMarkers");
dataMatrix <- load10XExpr("$data");
keepGenes <- rownames(dataMatrix);
keepGenes <- keepGenes[which(apply(dataMatrix,1,sum) > 10)];
dataMatrix <- dataMatrix[keepGenes,]
coords <- load10XCoords("$data");
features <- getSpatialFeatures("$cogapsResult");
spPatterns <- cbind(coords, features);
saveRDS(spPatterns, file = "${prefix}/spPatterns.rds");
#temp fix to remove barcodes with no spatial data
Expand Down

0 comments on commit 86729d5

Please sign in to comment.