Closed garyzhubc closed 10 months ago
Are the indices corresponding to rows of response or the genotype matrix?
You need to match your individual genotypes (rows) with the corresponding phenotypes.
So the indices are given by rows of x not rows of y? The first row of y will need to corresponds to the indeed row of x is that correct?
You can set ind.train
to choose the rows of X
you want to use.
And then y.train
needs to correspond to these indices as well.
So I can use index 10 that corresponds to the first row of y and the 10-th row of X, is that right? Sent from my iPhoneOn Dec 11, 2023, at 11:48 PM, Florian Privé @.***> wrote: You can set ind.train to choose the rows of X you want to use. And then y.train needs to correspond to these indices as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Seems right.
How to ensure indices of response are aligned with the genotype matrix in big_univLogReg?