songxiaoyu / iProFun

Other
8 stars 4 forks source link

Error in reg.sum$betas_J[[k]]: attempt to select less than one element in get1index #5

Open lincj1994 opened 1 year ago

lincj1994 commented 1 year ago

Hi. @songxiaoyu @JiayiJi I've run the iProFun.detection with the NoProbButFWERIndex = NULL and the length of xList of 1. But it returned an error as follows.

res <- iProFun.detection(
  reg.all = reg.all, eFDR.all = eFDR.all, FWER.all = FWER.all, filter = 0,
  NoProbButFWERIndex = NULL, fdr.cutoff = 0.1, fwer.cutoff = 0.1, PostPob.cutoff = 0.75,
  xType = c("Mutation"), yType = c("RNA", "protein")
)
Error in reg.sum$betas_J[[k]] : 
  attempt to select less than one element in get1index

Thank you.

songxiaoyu commented 1 year ago

Updated. Can you check if current version works? Thanks!

lincj1994 commented 1 year ago

Thank you! It works now.