Converts from motif name to motif ID or vice versa. To convert common names
to IDs, use the name
parameter. To convert IDs to common names, use
the id
parameter.
ConvertMotifID(object, ...)
# S3 method for default
ConvertMotifID(object, name, id, ...)
# S3 method for Motif
ConvertMotifID(object, ...)
# S3 method for ChromatinAssay
ConvertMotifID(object, ...)
# S3 method for Assay
ConvertMotifID(object, ...)
# S3 method for StdAssay
ConvertMotifID(object, ...)
# S3 method for Seurat
ConvertMotifID(object, assay = NULL, ...)
A Seurat, ChromatinAssay, or Motif object
Arguments passed to other methods
A vector of motif names
A vector of motif IDs. Only one of name
and id
should
be supplied
For Seurat
object. Name of assay to use.
If NULL, use the default assay
Returns a character vector with the same length and order as the
input. Any names or IDs that were not found will be stored as NA
.