Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangpin committed Dec 12, 2023
1 parent 48c49c0 commit 0191e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sc-spatial.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ setMethod("sc_spatial", 'Seurat',
indx.f <- seq(ncol(d) - nm.f + 1, ncol(d))
features <- colnames(d)[indx.f]
if (plot.pie){
d <- d[rowSums(d[,features,drop=FALSE]) > 0,,drop=FALSE]
d <- d[rowSums(d[,features,drop=FALSE]) != 0,,drop=FALSE]
}
d <- tidyr::pivot_longer(
d,
Expand Down

0 comments on commit 0191e4a

Please sign in to comment.