carmonalab / ProjecTILs

Interpretation of cell states using reference single-cell maps
GNU General Public License v3.0
231 stars 27 forks source link

plot.states.radar does not work when query data not provided #37

Closed kaizen89 closed 2 years ago

kaizen89 commented 2 years ago

Hi, plot.states.radar does not work when query not provided contrary to what is expected based on the documentation.

 ref <- load.reference.map()
plot.states.radar(ref)
Error in row.names(query[[i]]@assays[[query.assay]]@data) : 
  trying to get slot "assays" from an object of a basic class ("NULL") with no slots

image

mass-a commented 2 years ago

Hello, yes there was a bug when query=NULL, which should now be fixed.

Thanks for reporting, -m