immunogenomics / SCENT

Single-Cell ENhancer Target gene mapping using multimodal data with ATAC + RNA
Other
65 stars 9 forks source link

Error about fix.by #3

Closed hbliu closed 1 year ago

hbliu commented 1 year ago

Hi, I am trying SCENT on my dataset. However, I got an error as following:

SCENT_obj <- SCENT_algorithm(object = SCENT_obj)
Error in fix.by(by.y, y) : 'by' must specify a uniquely valid column

Does anyone have any idea about this error?

Thank you

hbliu commented 1 year ago

After checking, the error is caused by merge function in following code: df<-merge(df,object@meta.data,by="cell")

meta.data needs a column with name "cell" which provides the names of cells.