aertslab / SCopeLoomR

R package (compatible with SCope) to create generic .loom files and extend them with other data e.g.: SCENIC regulons, Seurat clusters and markers, ...
MIT License
38 stars 15 forks source link

Added helpful suggestions for get_regulons functions #22

Closed cflerin closed 3 years ago

cflerin commented 3 years ago

I recently had an issue in pySCENIC (aertslab/pySCENIC/issues/195) where the get_regulons function no longer worked the way it used to. It seems that the the default attribute was changed in 0f2325d. Here, I added some additional info to the error message to help the user by printing suggestions based on the attributes discovered in the loom file.

(Maybe this is also related to #16.)

dweemx commented 3 years ago

Yes this is related to the issue you are referring to. At some point we had to break the Regulons into TrackRegulons and MotifRegulons because of issue regarding to HDF5.