cellrouter icon indicating copy to clipboard operation
cellrouter copied to clipboard

cellrouter addInfo

Open kunUCSD opened this issue 5 years ago • 15 comments

Dear Edroaldo, Thanks for designing the cellrouter program. Recently, I'm try to do trajectory using it. My current data is from Seurat, but I met this error when I want to create a CellRouter object. My code is here:

samples <- get(load('Paul_Cell_samples.R')) cellrouter <- CellRouter(path='Paul_Cell_data.R', min.cells=3, min.genes=0) [1] "Initializing CellRouter object" data <- as.data.frame(as.matrix([email protected])) cellrouter <- CellRouter(rawdata=as.data.frame(data), min.cells=0, min.genes=0) [1] "Initializing CellRouter object" cellrouter <- addInfo(cellrouter, metadata = [email protected], colname = 'merged_20_Aug', metadata.column='res.0.8') Error in rep(colors, times = replicate_row) : invalid 'times' argument

Any help will be appreciated! Thanks! Best, Kun

kunUCSD avatar Aug 22 '18 01:08 kunUCSD