CostaLab / scMEGA

scMEGA: Single-cell Multiomic Enhancer-based Gene regulAtory network inference
https://costalab.github.io/scMEGA
Other
32 stars 2 forks source link

AddTargetAssay #26

Closed GischD closed 9 months ago

GischD commented 9 months ago

Hi

I am trying to run pbmc.t.cells <- AddTargetAssay(object = pbmc.t.cells, df.grn = df.grn2)

Instead of me receiving the warning like in the vignettes

Warning in if (is.na(df.grn)) {: the condition has length > 1 and only the first element will be used

The program is returning:

Error in if (is.na(df.grn)) { : the condition has length > 1

Do you have any idea what is going on?

Thank you, Debora

lzj1769 commented 9 months ago

Hi,

This could be related to the new version of Seurat.

I am working on this to make sure all functions are compatible with Seurat v5.

GischD commented 9 months ago

Hi

For now I open the code and run the functions and works.

Thank you, Debora