renameADT | R Documentation |
Given an object containing antibody derived tag (ADT) expression measurements, such as a [SingleCellExperiment::SingleCellExperiment()] or [MultiAssayExperiment::MultiAssayExperiment()] and a vector of new names, replace the names of the ADTs and store the original names as metadata.
Used for e.g. standardising protein names across studies. See 'getCommonName()' for generating standardised names by matching to the citeseq data set. Names have to be provided because we recommend manually checking standard names.
renameADT(obj, names, ...)
## S4 method for signature 'SingleCellExperiment,character'
renameADT(obj, names, assay = "ADT", ...)
## S4 method for signature 'MultiAssayExperiment,character'
renameADT(obj, names, assay = "counts", ...)
obj |
An object containing ADT expression measurements |
names |
A character vector of new names, equal to the number of ADTs in obj |
... |
Not currently used |
assay |
Name of the assay to be renamed (Default: "counts") |
An object of the same class as obj, with ADT measurements renamed
Helen Lindsay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.