Skip to content

Please check your cell.type.decomposition's colnames, and make sure they are the same as the cell groups' names in the SpatialCellChat. #465

Description

@lichen2018

Dear author,
When utilize spatialcellchat, I also met the problem

chat <- computeAvgCommunProb_Visium(
chat,
cell.type.decomposition = as.matrix(cell.type.decomposition_sub),
avg.type = 'avg',
nboot = 100,
do.permutation = T
)

The cell groups used for averaging cell-cell communication are b100
Error in computeAvgCommunProb_Visium(chat, cell.type.decomposition = as.matrix(cell.type.decomposition_sub), :
✖Please check your cell.type.decomposition's colnames, and make sure they are the same as the cell groups' names in the SpatialCellChat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions