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.
Usage
ConvertMotifID(object, ...)
# Default S3 method
ConvertMotifID(object, name, id, ...)
# S3 method for class 'Motif'
ConvertMotifID(object, ...)
# S3 method for class 'GRangesAssay'
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, ...)Arguments
- object
A SeuratObject::Seurat, ChromatinAssay5, or Motif object
- ...
Arguments passed to other methods
- name
A vector of motif names
- id
A vector of motif IDs. Only one of
nameandidshould be supplied- assay
For
Seuratobject. Name of assay to use. If NULL, use the default assay