You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to read in a BIOM v2 file (HDF5) using the read_biom function and receive the following error message. I would think the try statements in read_biom would work and properly open the file. Perhaps there is a change in R v4.3.0?
> genus_biom <- read_biom("metagenomics/genus_summary_clean/feature-table.biom")
Warning messages:
1: In strsplit(conditionMessage(e), "\n") :
unable to translate 'lexical error: invalid char in json text.
<89>HDF � (right here) ------^
' to a wide string
2: In strsplit(conditionMessage(e), "\n") : input string 1 is invalid
I am able to open the file using the following command.
Later, I was able to load the resulting biom file into R using the read_biom2phyloseq function from the microbiome package and add the metadata as an argument in the same function.
I am trying to read in a BIOM v2 file (HDF5) using the
read_biom
function and receive the following error message. I would think thetry
statements inread_biom
would work and properly open the file. Perhaps there is a change in R v4.3.0?I am able to open the file using the following command.
Here are details for my installation of R and biomformat.
Any help in this matter would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: