Learn R Programming

SnapATAC (version 1.0.0)

exportMetaData: Export barcode meta data

Description

This function takes a snap object as input and export its barcode and corresponding attributes

Usage

exportMetaData(obj, file, slot.names)

Arguments

obj

A snap object

file

Output file name

slot.names

Name of slots to be exported c('barcode', 'tsne', 'umap', 'cluster', 'metaData')

Examples

Run this code
# 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