title: Set a dataframe as column names for another data frame
body: <p>So I have a data frame (called SNPlist) which is of dimensions 1 by 500000 (rows by columns). I want SNP list to be the column names for my dataframe of data (called Data) which is of dimension 100 by 500000. I already tried <code>colnames(Data) &lt;- SNPlist</code> but it does not seem to be working. Can anyone help with this issue?</p>
  
  <p>Thanks</p>