Closed ZiXuan0606 closed 2 years ago
Problem solved.
I have the same questions , and my paramter's setting as follow: Scissor::reliability.test(X, Y, network, alpha =alpha_param[i], family = "gaussian", cell_num = numbers, n = 10, nfold = 100)。 Could you tell me how to solve this problem? Thank you very much..
I have the same questions , and my paramter's setting as follow: Scissor::reliability.test(X, Y, network, alpha =alpha_param[i], family = "gaussian", cell_num = numbers, n = 10, nfold = 100)。 Could you tell me how to solve this problem? Thank you very much..
Hi, I also have this problem. The parameter setting is the same as yours. Have you solved this problem? If you could reply, i would appreciate.
I used the colorectal cancer sc_dataset and bulk data.I uesd the DFI infomation and cox regression.But when I used the function reliability.test(),the pvalue is na,and sometimes statistic is nan,I check the function,and find that due to sample distribution,I sample the same status all is 0.So I want to ask you how to solve this problem.I choose family = binomial or modify the function test_cox according to the annotation,annotating code index0,choose index1 and index2 as following.Scissor is a very important tool for me,thank you very much .I also sent email to you,sorry to bother you. test_cox <- function(X, Y, network, alpha, cell_num, n = 100, nfold = 10){ set.seed(1) m1 <- sum(Y[,2] == 1) m2 <- sum(Y[,2] == 0)
index0 <- sample(cut(seq(m1+m2), breaks = 10, labels = F))
}