Annotation | R Documentation |
Get the annotation from a ChromatinAssay
Annotation(object, ...)
Annotation(object, ...) <- value
## S3 method for class 'ChromatinAssay'
Annotation(object, ...)
## S3 method for class 'Seurat'
Annotation(object, ...)
## S3 replacement method for class 'ChromatinAssay'
Annotation(object, ...) <- value
## S3 replacement method for class 'Seurat'
Annotation(object, ...) <- value
object |
A Seurat object or ChromatinAssay object |
... |
Arguments passed to other methods |
value |
A value to set. Can be NULL, to remove the current annotation
information, or a |
Returns a GRanges
object
if the annotation data is present, otherwise returns NULL
Annotation(atac_small[["peaks"]])
Annotation(atac_small)
genes <- Annotation(atac_small)
Annotation(atac_small[["peaks"]]) <- genes
genes <- Annotation(atac_small)
Annotation(atac_small) <- genes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.