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
Hi,
When I ran: igand_type_indication_df <- assign_ligands_to_celltype(seuratObj,
nichenet_output$top_ligands,
celltype_col = "cell_type2")
I got a error:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'j' in selecting a method for function '[': comparison of these types is not implemented
In addition: Warning message:
In seuratObj_subset[, seuratObj_subset[[celltype_col]] == celltype] :
Incompatible methods ("Ops.data.frame", "Ops.factor") for "=="
My Seurat object was created using Seurat V5.
The text was updated successfully, but these errors were encountered:
I think this occurred because the cell type column is a factor. A workaround for now would be to create a new metadata column as a character, as follows:
Hi,
When I ran: igand_type_indication_df <- assign_ligands_to_celltype(seuratObj,
nichenet_output$top_ligands,
celltype_col = "cell_type2")
I got a error:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'j' in selecting a method for function '[': comparison of these types is not implemented
In addition: Warning message:
In seuratObj_subset[, seuratObj_subset[[celltype_col]] == celltype] :
Incompatible methods ("Ops.data.frame", "Ops.factor") for "=="
My Seurat object was created using Seurat V5.
The text was updated successfully, but these errors were encountered: