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, ...)
# Default S3 method
ConvertMotifID(object, name, id, ...)
# S3 method for class 'Motif'
ConvertMotifID(object, ...)
# S3 method for class 'ChromatinAssay'
ConvertMotifID(object, ...)
# S3 method for class 'Assay'
ConvertMotifID(object, ...)
# S3 method for class 'StdAssay'
ConvertMotifID(object, ...)
# S3 method for class 'Seurat'
ConvertMotifID(object, assay = NULL, ...)
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
.