Assign sample-of-origin for each cell, annotate doublets.
HTODemux(object, percent_cutoff = 0.999, init_centers = NULL,
cluster_nstarts = 100, k_function = "kmeans", nsamples = 100,
print.output = TRUE, assay.type = "HTO", confidence_threshold = 0.05)
Seurat object. Assumes that the hash tag oligo (HTO) data has been added and normalized in the HTO slot.
The quantile of inferred 'negative' distribution for each HTO - over which the cell is considered 'positive'. Default is 0.999
Initial number of clusters for kmeans of the HTO oligos. Default is the # of samples + 1 (to account for negatives)
nstarts value for the initial k-means clustering
Clustering function for initial HTO grouping. Default is "kmeans", also support "clara" for fast k-medoids clustering on large applications
Number of samples to be drawn from the dataset used for clustering, for k_function = "clara"
Prints the output
Naming of HTO assay
The quantile of the inferred 'positive' distribution for each HTO. Cells that have lower counts than this threshold are labeled as uncertain in the confidence field. Default is 0.05
Seurat object. Demultiplexed information is stored in the object meta data.
# NOT RUN {
object <- HTODemux(object)
# }
Run the code above in your browser using DataLab