Retrieve path to fragments file from assay object, and checks that the file exists and is indexed before returning the file path.
GetFragments(object, assay = NULL)
A Seurat object
Name of the assay use to store the fragments file path
Returns the path to a fragments file stored in the Assay if present
# 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