Signac (version 0.2.4)

GetFragments: GetFragments

Description

Retrieve path to fragments file from assay object, and checks that the file exists and is indexed before returning the file path.

Usage

GetFragments(object, assay = NULL)

Arguments

object

A Seurat object

assay

Name of the assay use to store the fragments file path

Value

Returns the path to a fragments file stored in the Assay if present

Examples

Run this code
# NOT RUN {
fpath <- system.file("extdata", "fragments.tsv.gz", package="Signac")
atac_small <- SetFragments(object = atac_small, file = fpath)
GetFragments(object = atac_small)
# }

Run the code above in your browser using DataLab