stuart-lab / signac

R toolkit for the analysis of single-cell chromatin data
https://stuartlab.org/signac/
Other
330 stars 88 forks source link

custom path for fragment files #1817

Closed Jingyi-Wu-lab closed 6 days ago

Jingyi-Wu-lab commented 1 week ago

I hope to run Coverageplot with other people's Seurat object peaks assay, but it reports that:

Error: TabixFile: file(s) do not exist: ‘/home//Documents/atac_fragments.tsv.gz’ ‘/home/Documents/atac_fragments.tsv.gz.tbi’

I have atac_fragment files downloaded and stored on my local computer. I wonder if I can customize the path so the coverage plot can find it.

timoast commented 6 days ago

Please see the documentation here: https://stuartlab.org/signac/articles/data_structures#changing-the-fragment-file-path-in-an-existing-fragment-object