Open jackhump opened 3 years ago
https://github.com/datduong/RECOV/blob/4b4d8da204062ef79b600ff7c92e275ae890dfef/fitLlh1Gene4github.R#L40
The current line assumes the ydata has 88 columns, presumably from the dataset used in the paper.
This can be fixed by using the number of columns of the user's data instead:
betas = data4LD[,seq(1,ncol(data4LD),by=2)] ## betas only
https://github.com/datduong/RECOV/blob/4b4d8da204062ef79b600ff7c92e275ae890dfef/fitLlh1Gene4github.R#L40
The current line assumes the ydata has 88 columns, presumably from the dataset used in the paper.
This can be fixed by using the number of columns of the user's data instead: