Skip to content

Commit

Permalink
Update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiwei Zheng committed Jun 29, 2018
1 parent 90089ca commit 7ff7f0e
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 61 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export(MergeNode)
export(MergeSeurat)
export(MetageneBicorPlot)
export(MinMax)
export(MultiModal_CCA)
export(NegBinomDETest)
export(NegBinomRegDETest)
export(NormalizeData)
Expand Down
19 changes: 10 additions & 9 deletions R/multi_modal.R
Original file line number Diff line number Diff line change
Expand Up @@ -221,19 +221,20 @@ CollapseSpeciesExpressionMatrix <- function(
#'
#' @param object Seurat object. Assumes that the hash tag oligo (HTO) data has been added and normalized.
#' @param assay.type Name of the Hashtag assay (HTO by default)
#' @param positive_quantile The quantile of inferred 'negative' distribution for each HTO - over which the cell is considered 'positive'. Default is 0.99
#' @param init_centers Initial number of clusters for kmeans of the HTO oligos. Default is the # of hashtag oligo names + 1 (to account for negatives)
#' @param k_function Clustering function for initial HTO grouping. Default is "clara" for fast k-medoids clustering on large applications, also support "kmeans" for kmeans clustering
#' @param positive_quantile The quantile of inferred 'negative' distribution for each hashtag - over which the cell is considered 'positive'. Default is 0.99
#' @param init_centers Initial number of clusters for hashtags. Default is the # of hashtag oligo names + 1 (to account for negatives)
#' @param k_function Clustering function for initial hashtag grouping. Default is "clara" for fast k-medoids clustering on large applications, also support "kmeans" for kmeans clustering
#' @param nsamples Number of samples to be drawn from the dataset used for clustering, for k_function = "clara"
#' @param cluster_nstarts nstarts value for k-means clustering (for k_function = "kmeans"). 100 by default
#' @param print.output Prints the output
#'
#' @return The Seurat object with the following demultiplexed information stored in the meta data:
#' @return hash_maxID Name of HTO with the highest signal.
#' @return hash_secondID Name of HTO with the second highest signal
#' @return hash_margin The difference between signals for hash_maxID and hash_secondID
#' @return hto_classification Classification result, with doublets/multiplets named by the top two highest HTOs
#' @return hto_classification_global Global classification result (singlet, doublet or negative)
#' @return hash_ID Classification result where doublet IDs are collapsed
#' \item{hash_maxID}{Name of hashtag with the highest signal}
#' \item{hash_secondID}{Name of hashtag with the second highest signal}
#' \item{hash_margin}{The difference between signals for hash_maxID and hash_secondID}
#' \item{hto_classification}{Classification result, with doublets/multiplets named by the top two highest hashtags}
#' \item{hto_classification_global}{Global classification result (singlet, doublet or negative)}
#' \item{hash_ID}{Classification result where doublet IDs are collapsed}
#'
#' @importFrom stats pnbinom
#' @importFrom cluster clara
Expand Down
30 changes: 17 additions & 13 deletions man/HTODemux.Rd

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

4 changes: 2 additions & 2 deletions man/HTOHeatmap.Rd

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

36 changes: 0 additions & 36 deletions man/MultiModal_CCA.Rd

This file was deleted.

0 comments on commit 7ff7f0e

Please sign in to comment.