Description Usage Arguments Examples
Get a key
Set a key
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Key(object, ...)
Key(object, ...) <- value
## S3 method for class 'Assay'
Key(object, ...)
## S3 method for class 'DimReduc'
Key(object, ...)
## S3 method for class 'Seurat'
Key(object, ...)
## S3 replacement method for class 'Assay'
Key(object, ...) <- value
## S3 replacement method for class 'DimReduc'
Key(object, ...) <- value
|
object |
An object |
... |
Arguments passed to other methods |
value |
Key value |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Get an Assay key
Key(object = pbmc_small[["RNA"]])
# Get a DimReduc key
Key(object = pbmc_small[["pca"]])
# Show all keys associated with a Seurat object
Key(object = pbmc_small)
# Set the key for an Assay
Key(object = pbmc_small[["RNA"]]) <- "newkey_"
Key(object = pbmc_small[["RNA"]])
# Set the key for DimReduc
Key(object = pbmc_small[["pca"]]) <- "newkey2_"
Key(object = pbmc_small[["pca"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.