Skip to content

Commit

Permalink
fix problem with scmapCell2Cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
wikiselev committed Dec 11, 2017
1 parent a04281e commit fd54f6b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: scmap
Type: Package
Title: A tool for unsupervised projection of single cell RNA-seq data
Version: 1.1.4
Version: 1.1.5
Author: Vladimir Kiselev
Maintainer: Vladimir Kiselev <[email protected]>
Authors@R: c(person("Vladimir", "Kiselev",
Expand Down
2 changes: 1 addition & 1 deletion R/CoreMethods.R
Original file line number Diff line number Diff line change
Expand Up @@ -475,4 +475,4 @@ scmapCell2Cluster.SingleCellExperiment <- function(scmapCell_results, cluster_li

#' @rdname scmapCell2Cluster
#' @aliases scmapCell2Cluster
setMethod("scmapCell2Cluster", "SingleCellExperiment", scmapCell2Cluster.SingleCellExperiment)
setMethod("scmapCell2Cluster", "list", scmapCell2Cluster.SingleCellExperiment)
18 changes: 8 additions & 10 deletions man/scmapCell2Cluster.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions vignettes/scmap.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ names(scmapCell_results)
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:

```{r}
scmapCell_results$xin$cells[,1:3]
scmapCell_results$yan$cells[,1:3]
```

`similarities` matrix contains corresponding cosine similarities:

```{r}
scmapCell_results$xin$similarities[,1:3]
scmapCell_results$yan$similarities[,1:3]
```

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

```{r}
scmapCell_clusters <- scmapCell2Cluster(
sce,
scmapCell_results,
list(
as.character(colData(sce)$cell_type1)
Expand Down

0 comments on commit fd54f6b

Please sign in to comment.