stuart-lab / signac

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

CreatefragmentObject empty #1714

Closed yamihn closed 5 months ago

yamihn commented 5 months ago

Hello people, I have 4 fragment file in tsv.gz indexed. I want to create a fragment object for each of them. When I do: fragments_obj <- CreateFragmentObject( path = "./data/fragment.tsv.gz" ) The fragmentobject Is empty.. Why? I want to use all the cells of fragment object.

timoast commented 5 months ago

Please see the documentation for CreateFragmentObject: https://stuartlab.org/signac/reference/createfragmentobject

The cells parameter determines what cells are expected to be in the fragment object

yamihn commented 5 months ago

Sorry, I already read the documentario, but if I left NULL in cells parameters, i expect that all the cells in the fragment file are considered, right? In my case, zero cells have been count