carmonalab / ProjecTILs

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

How to use Run.Projectils with Harmony. #63

Closed mckoch234 closed 1 year ago

mckoch234 commented 1 year ago

I tried using reduction ="harmony" with run.projectils but it's giving me an error saying there are no cell embeddings, even though there are cell embeddings in the reduction.

mass-a commented 1 year ago

Hi, the reduction parameter refers to the low-dimensional space in which to calculate nearest neighbors between cells of the reference and projected cells of the query, and in this way assign predicted labels. The references do not have a "harmony" embedding (default is 'pca'). We can improve the documentation to avoid confusion.