View source: R/snap-utilities.R
exportMetaData | R Documentation |
This function takes a snap object as input and export its barcode and corresponding attributes
exportMetaData(obj, file, slot.names)
obj |
A snap object |
file |
Output file name |
slot.names |
Name of slots to be exported c('barcode', 'tsne', 'umap', 'cluster', 'metaData') |
data(demo.sp); exportMetaData(demo.sp, file="demo.metadata.txt", slot.names=c("barcode", "tsne"));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.