scMEGA icon indicating copy to clipboard operation
scMEGA copied to clipboard

error in SelectTFs or GetTrajectory

Open rahulnutron opened this issue 1 year ago • 1 comments

Dear scMEGA team,

Thank you for developing this useful package. I am working with Arabidopsis datasets - GSE173834 for the scATAC data and my own scRNA-seq data. When I integrated them, at the step of SelectTFs I got this error

Creating Trajectory Group Matrix.. Error in base::rowMeans(x, na.rm = na.rm, dims = dims, ...) : 'x' must be an array of at least two dimensions

When I try to debug, it looks like, under GetTrajectory, Matrix::rowMeans fails. However, the cell_names has multiple cell names, so this should not be a vector. I will be grateful if you could help me on that. Please let me know what details you need, I will share.

Regards, Rahul

rahulnutron avatar Sep 11 '23 05:09 rahulnutron