From ca6a71359a0076cfcc3dcf59807747dd781898c9 Mon Sep 17 00:00:00 2001 From: "Paul L. Maurizio" Date: Fri, 1 Mar 2024 10:13:54 -0500 Subject: [PATCH] Update seurat.R Added notes in documentation for add.cell.ids parameter in merge.Seurat to specify that id's are added as prefixes for RNA data but added as suffixes for ADT data. --- R/seurat.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/seurat.R b/R/seurat.R index 452ca8ff..c68333a5 100644 --- a/R/seurat.R +++ b/R/seurat.R @@ -2300,11 +2300,11 @@ ReorderIdent.Seurat <- function( return(object) } -#' @param add.cell.id prefix to add cell names +#' @param add.cell.id prefix to add cell names for RNA, or suffix for ADT #' @param for.merge Deprecated #' #' @details -#' If \code{add.cell.id} is set a prefix is added to existing cell names. If +#' If \code{add.cell.id} is set a prefix is added to existing cell names for RNA, or suffix for ADT. If #' \code{new.names} is set these will be used to replace existing names. #' #' @rdname RenameCells @@ -3327,7 +3327,7 @@ levels.Seurat <- function(x) { #' @param x A \code{\link{Seurat}} object #' @param y A single \code{Seurat} object or a list of \code{Seurat} objects #' @param add.cell.ids A character vector of \code{length(x = c(x, y))}; -#' appends the corresponding values to the start of each objects' cell names +#' appends the corresponding values to the start (or end) of each objects' cell names #' @param merge.data Merge the data slots instead of just merging the counts #' (which requires renormalization); this is recommended if the same #' normalization approach was applied to all objects