Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

error in netVisual_bubble plotting #751

@Zhasha95

Description

@Zhasha95

Hi @sqjin ,

Thank you for the nice package. I have problems when I use the following code

gg1 <- netVisual_bubble(cellchat, sources.use = 3, targets.use = c(1:26), comparison = c(1, 2), max.dataset = 2, title.name = "Increased signaling in wt", angle.x = 45, remove.isolate = T)

Error in if (!(df.i.j$dataset[idx.max] %in% dataset.name[max.dataset])) { : 
  the condition has length > 1

But I cannot find the "df.i.j" in my dataset. And when the sources.use = 1 or 2, there is no error and I could get the figure. But when sources.use is 3 or bigger numbers, it gave me the error above.

Do you have any thoughts on this?

Thank you so much in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions