fpath <- system.file("extdata", "fragments.tsv.gz", package="Signac")
fragments <- CreateFragmentObject(
path = fpath,
cells = colnames(atac_small),
validate.fragments = FALSE
)
Fragments(atac_small) <- fragments
GeneActivity(atac_small)
Run the code above in your browser using DataLab