saveATAC | R Documentation |
This function allows you to save the counts, peaks, cell ID's/barcodes, and any cell clustering data to disk in csv format. It takes two options: an object to save and a directory to save in. Multiple files will be created in the provided output directory, one for each type of data available in the scATAC_data object (counts, cell ID/Barcode, peak regions, cell type/cluster annotations).
saveATAC(object, outdir)
object |
The SingleCellExperiment object to be written to disk, this should be an individual dataset returned by queryATAC. |
outdir |
The directory to save the data in, the directory should not exist yet. |
Nothing
# Retrieve a previously identified dataset (see queryATAC) and save it to disk
res <- queryATAC(accession = 'GSE89362')[[1]]
saveATAC(res, output_directory_name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.