Description Usage Arguments Value See Also Examples
Assign sample-of-origin for each cell, annotate doublets.
1 2 3 |
object |
Seurat object. Assumes that the hash tag oligo (HTO) data has been added and normalized. |
assay |
Name of the Hashtag assay (HTO by default) |
positive.quantile |
The quantile of inferred 'negative' distribution for each hashtag - over which the cell is considered 'positive'. Default is 0.99 |
init |
Initial number of clusters for hashtags. Default is the # of hashtag oligo names + 1 (to account for negatives) |
nstarts |
nstarts value for k-means clustering (for kfunc = "kmeans"). 100 by default |
kfunc |
Clustering function for initial hashtag grouping. Default is "clara" for fast k-medoids clustering on large applications, also support "kmeans" for kmeans clustering |
nsamples |
Number of samples to be drawn from the dataset used for clustering, for kfunc = "clara" |
verbose |
Prints the output |
The Seurat object with the following demultiplexed information stored in the meta data:
hash.maxID |
Name of hashtag with the highest signal |
hash.secondID |
Name of hashtag with the second highest signal |
hash.margin |
The difference between signals for hash.maxID and hash.secondID |
classification |
Classification result, with doublets/multiplets named by the top two highest hashtags |
classification.global |
Global classification result (singlet, doublet or negative) |
hash.ID |
Classification result where doublet IDs are collapsed |
1 2 3 4 | ## Not run:
object <- HTODemux(object)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.