ShellyCoder / cellcall

inferring cell-cell communication from scRNA-seq of ligand-receptor
77 stars 20 forks source link

Hi, I'm having a problem with ViewInterCircos #35

Open athanasy-ljw opened 2 years ago

athanasy-ljw commented 2 years ago

Hi, When I was drawing with ViewInterCircos, I got the following Error: "Error in if (trim > 0 &&n) {: missing value where TRUE/FALSE needed ", I tried several solutions with no success. I hope I can get your help. Thank you!

image

my code:

pdf("WT_cellcall.pdf", width=15, heigh=15) ViewInterCircos(object = WT_human_cellcall_score, font = 2, cellColor = cell_color, lrColor = c("#F16B6F", "#84B1ED"), arr.type = "big.arrow",arr.length = 0.04, trackhight1 = 0.05, slot="expr_l_r_log2_scale", linkcolor.from.sender = TRUE, linkcolor = NULL, gap.degree = 0.5, trackhight2 = 0.032, track.margin2 = c(0.01,0.12), DIY = FALSE) dev.off() Error in if (trim > 0 && n) { : missing value where TRUE/FALSE needed

athanasy-ljw commented 2 years ago

my email : 1079254502@qq.com , Looking forward to your reply

ShellyCoder commented 2 years ago

my email : 1079254502@qq.com , Looking forward to your reply

Hi, I have sent the e-mail to 1079254502@qq.com. Hope for your reply.

ShellyCoder commented 2 years ago

I have checked your Rds data and there is no result in the WT_human_cellcall_score@data$expr_l_r_log2_scale with 0 row and 289 columns. Maybe the looser parameter will be of help. Such as p.adjust, pValueCor and probs, more bigger the parameter, more result of CellCall.

That may be the reason for the error and I have to modified the code to inspect the input before drawing the circle plot.

athanasy-ljw commented 2 years ago

Hi,

Thank you very much for your reply. I will make the parameters loose for a try.

cheers, Jiawei li

------------------ 原始邮件 ------------------ 发件人: "ShellyCoder/cellcall" @.>; 发送时间: 2022年11月21日(星期一) 晚上7:05 @.>; @.**@.>; 主题: Re: [ShellyCoder/cellcall] Hi, I'm having a problem with ViewInterCircos (Issue #35)

I have checked your Rds data and there is no result in the @.***$expr_l_r_log2_scale with 0 row and 289 columns. Maybe the looser parameter will be of help. Such as p.adjust, pValueCor and probs, more bigger the parameter, more result of CellCall.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>