powered by
This function takes a snap object as input and export its barcode and corresponding attributes
exportMetaData(obj, file, slot.names)
A snap object
Output file name
Name of slots to be exported c('barcode', 'tsne', 'umap', 'cluster', 'metaData')
# NOT RUN { data(demo.sp); exportMetaData(demo.sp, file="demo.metadata.txt", slot.names=c("barcode", "tsne")); # }
Run the code above in your browser using DataLab