Closed PingpingZheng closed 1 year ago
Hello,
you need to run cellstate.predict
after make.projection
to obtain the predicted cell state, e.g.:
query_projected <- make.projection(query_example_seurat, ref=ref)
query_projected <- cellstate.predict(ref=ref, query=query_projected)
More simply, you can use the Run.ProjecTILs
function, which is a wrapper for the two steps above:
query_projected <- Run.ProjecTILs(query_example_seurat, ref=ref)
You can see more concrete examples in this demo or in one of the case studies.
Best -m
Thank you so much. cellstate.predict
works well.
Somehow, ProjectTILs (version 3) doesn't return
functional.cluster
to the query aftermake.projection
.Has anyone encounter the same issue? Is there any way to fix it? Thank you in advance for any tips.