carmonalab / ProjecTILs

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

Radars don't show expressions #82

Closed itamuria closed 2 months ago

itamuria commented 2 months ago

Hello,

When I plot expressions I can see gene expressions but when I try to do it in radars plot, I don't see them. Why could it be?

` VlnPlot(querydata, features = genes4radar, stack = T, flip = T, fill.by = "ident", group.by = "tcell_clustering",# cols = refCols, assay = "originalexp") + NoLegend()

plot.states.radar(ref, query = query.projected, genes4radar = genes4radar, min.cells = 5) `

Please, find attached an example.

image

Thanks, All the best,

mass-a commented 2 months ago

Hello, you can try setting the assay for which to plot the radar charts (in your case "originalexp"):

plot.states.radar(ref, query = query.projected, genes4radar = genes4radar, min.cells = 5,
    query.assay="originalexp")

Does that work? -m

itamuria commented 2 months ago

Thanks, it worked ;)