exportMetaData: Export barcode meta data

View source: R/snap-utilities.R

exportMetaDataR Documentation

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

data(demo.sp);
exportMetaData(demo.sp, file="demo.metadata.txt", slot.names=c("barcode", "tsne"));

r3fang/SnapATAC documentation built on March 29, 2022, 4:33 p.m.