PaulingLiu / scibet

A portable and fast single cell type identifier
BSD 3-Clause "New" or "Revised" License
62 stars 11 forks source link

Error in out[1:k, ] : incorrect number of dimensions #11

Open AlphaLX opened 1 year ago

AlphaLX commented 1 year ago

Hi, I use the scibetR package for windows system, and I met an error when using the package.

expr = as.data.frame(t(counts(ref))) # the reference dataset, rows are cells and columns are genes expr = expr %>% mutate(group_ref) # add the label column que = as.data.frame(t(counts(sce))) # the query dataset, , rows are cells and columns are genes prd <- SciBet_R(expr, que, k=100)

Error in out[1:k, ] : incorrect number of dimensions

I don't know what's wrong with my code, could you please help me solve the issue?