acope3 / RibModelFramework

1 stars 14 forks source link

Using genome argument in getExpressionEstimates converts numeric to char #370

Closed mikegilchrist closed 2 years ago

mikegilchrist commented 3 years ago

assigning a genome object to the 'genome' argument in getExpressionEstimates() results in the values returned being characters rather than a mixture of characters (geneID) and numeric.

acope3 commented 2 years ago

Good catch. I likely missed it because I don't usually work with these parameters until after my runs are complete and I'm reading the results from a file. I think this behavior is because the data structures being used are matrices, which will cast everything to the same data type. Changing to data frames should resolve this issue.

acope3 commented 2 years ago

Issue resolved as part of pull request #375