You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' This function returns names and bootstrap probabilities from all top mapped cell sets
257
+
#'
258
+
#' @param extended_result_path Full file path and name where the original mapping results will be saved.
259
+
#'
260
+
#' @import jsonlite
261
+
#'
262
+
#' @return A table of the top cell set names and bootstrap probabilities from top results and runner-up results for each level of the hierarchy included in the extended_result_path file. By default, this is the top 5 most likely cell sets for either (1) multiple hierachy levels in hierarchical mapping or (2) a single hierarchy level for correlation mapping.
Copy file name to clipboardExpand all lines: R/taxonomyMapping.R
+24-7Lines changed: 24 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
#'
5
5
#' @param AIT.anndata A reference taxonomy object.
6
6
#' @param query.data A logCPM normalized matrix to be annotated.
7
-
#' @param label.cols Column names of annotations to map against. Note that this only works for metadata that represent clusters or groups of clusters (e.g., subclass, supertype, neighborhood, class)
7
+
#' @param label.cols Column names of annotations to map against. Note that this only works for metadata that represent clusters or groups of clusters (e.g., subclass, supertype, neighborhood, class) and will default to whatever is included in AIT.anndata$uns$hierarchy
8
8
#' @param corr.map Should correlation mapping be performed?
9
9
#' @param tree.map Should tree mapping be performed?
10
10
#' @param seurat.map Should seurat mapping be performed?
suppressWarnings({ # wrapping the whole function in suppressWarnings to avoid having this printed a zillion times: 'useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = FALSE.'
Copy file name to clipboardExpand all lines: README.md
+7-21Lines changed: 7 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,34 +8,20 @@ You can find a detail description of all scrattch.mapping functions here: 
10
10
11
-
## Docker
12
-
13
-
We have setup a docker environemnt for scrattch.taxonomy and scrattch.mapping that contains all the required dependencies and the current version of all scrattch packages. This docker is accessible through docker hub via: `njjai/scrattch_mapping:0.6.6`.
While we advice using the provided docker, you can also install scrattch.mapping directly from github as follows:
13
+
### Using docker (recommended)
14
+
We have setup a docker environment for scrattch.taxonomy, scrattch.mapping, and scrattch.patchseq that contains all the required dependencies and the current version of all scrattch packages. **See [the readme](https://github.com/AllenInstitute/scrattch/blob/master/README.md#using-docker) for [the parent scrattch package](https://github.com/AllenInstitute/scrattch) for the most up-to-date docker information.**
27
15
28
-
*Note: slight edits to installation will be needed while repo is private. Also note that `doMC` may need to be installed manually from the download at https://r-forge.r-project.org/R/?group_id=947 if you use Windows.*
Note that this strategy might not work outside the docker due to complicated dependencies. Vignettes are provided below.
24
+
This strategy **might not work**due to complicated dependencies. Also note that `doMC` may need to be installed manually from [HERE](https://r-forge.r-project.org/R/?group_id=947) if you use Windows. Vignettes are provided below.
0 commit comments