Skip to content

Commit fd54f6b

Browse files
committed
fix problem with scmapCell2Cluster
1 parent a04281e commit fd54f6b

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

Diff for: DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: scmap
22
Type: Package
33
Title: A tool for unsupervised projection of single cell RNA-seq data
4-
Version: 1.1.4
4+
Version: 1.1.5
55
Author: Vladimir Kiselev
66
Maintainer: Vladimir Kiselev <[email protected]>
77
Authors@R: c(person("Vladimir", "Kiselev",

Diff for: R/CoreMethods.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,4 +475,4 @@ scmapCell2Cluster.SingleCellExperiment <- function(scmapCell_results, cluster_li
475475

476476
#' @rdname scmapCell2Cluster
477477
#' @aliases scmapCell2Cluster
478-
setMethod("scmapCell2Cluster", "SingleCellExperiment", scmapCell2Cluster.SingleCellExperiment)
478+
setMethod("scmapCell2Cluster", "list", scmapCell2Cluster.SingleCellExperiment)

Diff for: man/scmapCell2Cluster.Rd

+8-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vignettes/scmap.Rmd

+2-3
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,13 @@ names(scmapCell_results)
206206
For each dataset there are two matricies. `cells` matrix contains the top 10 (`scmap` default) cell IDs of the cells of the reference dataset that a given cell of the projection dataset is closest to:
207207

208208
```{r}
209-
scmapCell_results$xin$cells[,1:3]
209+
scmapCell_results$yan$cells[,1:3]
210210
```
211211

212212
`similarities` matrix contains corresponding cosine similarities:
213213

214214
```{r}
215-
scmapCell_results$xin$similarities[,1:3]
215+
scmapCell_results$yan$similarities[,1:3]
216216
```
217217

218218
## Cluster annotation
@@ -221,7 +221,6 @@ If cell cluster annotation is available for the reference datasets, in addition
221221

222222
```{r}
223223
scmapCell_clusters <- scmapCell2Cluster(
224-
sce,
225224
scmapCell_results,
226225
list(
227226
as.character(colData(sce)$cell_type1)

0 commit comments

Comments
 (0)