10 months ago by
San Francisco, CA, USA
Hi there, this error usually means something went wrong with trying to read in the pData argument. The error comes from read.table, not from ballgown. More detail would be helpful in debugging here:
* what is "pheno_data" in your example? (is it a file path?)
* what are the contents of the file in that path?
* what happens when you try to read in whatever the pheno_data file is with read.table or read.csv?
If you can get pheno_data file read in with a different function beforehand (read.table or read.csv), you can pass the resulting data frame directly to the ballgown function. But this error is coming from read.table, so if you solve that problem you will solve this one.
Hope that helps!