Entering edit mode
6.4 years ago
arsilan324
▴
90
Hi all,
I am trying to use phyloseq package in R for plotting 16S amplicon sequencing results. But I get this error after running the command.
> plot_bar(physeq2, fill = "Annotaton")
> Error in if (xi > xj) 1L else -1L : missing value where TRUE/FALSE needed
I am using the data whose subset looks like this,
SR2_S84 SR3_S85 SR4_S89 SR5_S90 SR6_S91
0 0 0 0 0
0 0.000666183 0 0 0
0 0 0 0 0
0.007258343 0.005995643 0.001528514 0.002698655 0.002695369
Can you please comment what mistake I am doing? Thanks
Could you please post example data?
A subset looks like this
When I use the actual numbers, it works; but when i use the percent data (re-standardized), it gives error.
Thanks
Please edit your question and add this detail in.