Coolgenome / iTALK

55 stars 20 forks source link

cell_col of LRPlot is not working. #31

Closed wajm closed 3 years ago

wajm commented 3 years ago

cell_col<-structure(c('#f8766d','#d39200','#93aa00','#00ba38','#00c19f','#00b9e3','#619cff','#db72fb','#ff61c3'),names=unique(data$cell_type))

LRPlot(res[1:20,],datatype='mean count',cell_col=cell_col,link.arr.lwd=res$cell_from_mean_exprs[1:20],link.arr.width=res$cell_to_mean_exprs[1:20])

then I got image

using cell_col=NULL image

is there any option?