Entering edit mode
By referring to the link of the WGCNA tutorial link given, can anyone tell me what is the function of the following two R code? What is the function of -1 and 1 in the square bracket?Tutorial for the WGCNA package for R
datTraits = allTraits[traitRows, -1];
rownames(datTraits) = allTraits[traitRows, 1];
Thanks for the explanation