title: R message "Can't subset columns that don't exist. x Locations 2, 3, 4, 5, 6, etc. don't exist. i There are only 1 column" MBCB packge
body: <p>I am trying to do a background correction on my data sets that has only 3 columns, when submitting my code I get the error &quot;Can't subset columns that don't exist. x Locations 2, 3, 4, 5, 6, etc. don't exist. i There are only 1 column&quot;. Actually my data has only 3 columns so I dont get the error.</p>
  <p>This is the code:</p>
  <pre><code>MBCB::mbcb.main(GSE150738_Dataraw,GSE150738_Dataraw_ctrol,
      npBool=TRUE,
      rmaBool=FALSE,
      mleBool=FALSE,
      bayesBool=FALSE,
      gmleBool=FALSE,                      
      paramEstFile=&quot;/Users/juanitadussan/Dropbox/ESTUDIO/BIOMEDICA/TESIS/TESIS 1/Análisis de datos GSE/Datasets/Background correction_parameters.xlsx&quot;,
      bgCorrectedFile=&quot;/Users/juanitadussan/Dropbox/ESTUDIO/BIOMEDICA/TESIS/TESIS 1/Análisis de datos GSE/Datasets/Background correction_corrected.xlsx&quot;,
      iter=500,
      burn=200,
      normMethod=&quot;none&quot;,
      isRawBead=FALSE)
  </code></pre>
  <blockquote>
  <p>Error in <code>stop_subscript()</code>:
  ! Can't subset columns that don't exist.
  x Locations 2, 3, 4, 5, 6, etc. don't exist.
  i There are only 1 column.</p>
  </blockquote>
  <p>Can anyone tell me what I am doing wrong?</p>
  <p>Thanks!</p>
  <p>A subset of the data is here:</p>
  <p>Data 1:</p>
  <pre><code>dput(mydatasubset1)
  structure(list(ID_REF = c(&quot;TC0100006437.hg.1&quot;, &quot;TC0100006476.hg.1&quot;, 
  &quot;TC0100006479.hg.1&quot;, &quot;TC0100006480.hg.1&quot;, &quot;TC0100006483.hg.1&quot;
  ), GSM4557962 = c(&quot;44.944035&quot;, &quot;100.85072&quot;, &quot;157.17555&quot;,&quot;89.425964&quot;, &quot;68.77652&quot;), GSM4557965 = c(&quot;42.962048&quot;, &quot;126.33466&quot;, &quot;139.22046&quot;, &quot;139.04102&quot;, &quot;79.80324&quot;)), row.names = c(NA, -5L), class = c(&quot;tbl_df&quot;, &quot;tbl&quot;, &quot;data.frame&quot;))
  </code></pre>
  <p>Control:</p>
  <pre><code>dput(mydatasubset2)
  structure(list(ID_REF = c(&quot;TC0100006437.hg.1&quot;, &quot;TC0100006476.hg.1&quot;, 
  &quot;TC0100006479.hg.1&quot;, &quot;TC0100006480.hg.1&quot;, &quot;TC0100006483.hg.1&quot;
  ), GSM4557961 = c(&quot;46.799675&quot;, &quot;127.531555&quot;, &quot;212.54181&quot;,&quot;121.27715&quot;, &quot;70.95126&quot;), GSM4557964 = c(&quot;49.06907&quot;, &quot;147.042&quot;, &quot;206.33817&quot;, &quot;126.067024&quot;, &quot;60.933674&quot;)), row.names = c(NA, -5L), class = c(&quot;tbl_df&quot;, &quot;tbl&quot;, &quot;data.frame&quot;))
  </code></pre>