You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your outstanding software. While following the tutorial for analysis, I filtered da_result to remove some irrelevant cell types in plotDAbeeswarm
Error in .group_nhoods_from_adjacency(nhoods(x), nhood.adj = nhoodAdjacency(x), :
Subsetting is.da vector length is not the same dimension as adjacency
The reason is that groupNhoods checks for equality between
filtering in advance causes this error. I am reporting this here in hopes it helps others.
Additionally, I have a question~
Within the same cluster, some Nhoods have increased/decreased after treatment, while others show no significant change.
I am particularly interested in which genes lead to the different changes in Nhoods within the same cluster. Once I obtain the Nhoods and their corresponding clusters, can I manually annotate them instead of using groupNhoods for reclassification? For example, can I assign Nhoods within the same cluster, like C1, that have increased/unchanged/decreased to different NhoodGroups (1/2/3), and then execute findNhoodGroupMarkers among them? Is this approach reasonable?
Any advice from you would be helpful!
The text was updated successfully, but these errors were encountered:
If you have a single-cell level annotation in a column of colData() then you can use annotateNhoods to assign a label to each nhood in your DA results data frame. It does this by a majority voting scheme and reports the fraction of cells in the Nhoods with that specific label.
If you want to create a beeswarm or any other nhood plots on a subset of nhoods you need to use the subset.hoods argument for the relevant plotting function.
It sounds like you want to DE testing within a group of Nhoods? That is what the testDiffExp function is for. You can essentially use the same variable as you did for the DA testing to get this.
Hi !
Thank you for your outstanding software. While following the tutorial for analysis, I filtered
da_result
to remove some irrelevant cell types inplotDAbeeswarm
As a consequence, groupNhoods throws the error:
The reason is that
groupNhoods
checks for equality betweenfiltering in advance causes this error. I am reporting this here in hopes it helps others.
Additionally, I have a question~
Within the same
cluster
, someNhoods
have increased/decreased after treatment, while others show no significant change.I am particularly interested in which genes lead to the different changes in
Nhoods
within the samecluster
. Once I obtain theNhoods
and their correspondingclusters
, can I manually annotate them instead of usinggroupNhoods
for reclassification? For example, can I assignNhoods
within the samecluster
, like C1, that have increased/unchanged/decreased to differentNhoodGroups (1/2/3)
, and then executefindNhoodGroupMarkers
among them? Is this approach reasonable?Any advice from you would be helpful!
The text was updated successfully, but these errors were encountered: