phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
Hello community,
I have been tinkering with phyloseq and many related packages e.g. microViz for a while without any unsolvable error, but now I am stuck. I have loaded my data into R without any warnings or errors and done a whole lot of computations and graphs. Great! I recently wanted to try to rarefy to equal coverage, using the same data as always by running
So it seems to me that the dimensions, the structure, class, content, names etc. of the otu-table is just fine. I do not know what else to check.
Package versions are phyloseq: 1.42.0, metagMisc 0.5.0
> sessionInfo()
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
The error I get seems like a phyloseq related error related to this to me which is why I am posting here, but eventually I just don't know. If this is an issue of compatability of this one specific function and my data is fine as it is, is there maybe a way to circumvent the error and have the code run anyways?
Hello community, I have been tinkering with phyloseq and many related packages e.g. microViz for a while without any unsolvable error, but now I am stuck. I have loaded my data into R without any warnings or errors and done a whole lot of computations and graphs. Great! I recently wanted to try to rarefy to equal coverage, using the same data as always by running
from the package metagMisc Link here. Another function from this package
phyloseq_coverage
ran without error using the exact same input data.Yet now I get the following error:
I went through many forum posts but couldn't find the solution yet. Learning from these posts I already checked the following:
phy_total_filtered
class(phy_total_filtered)
class(otu_table(phy_total_filtered))
dim(otu_table(phy_total_filtered))
otu_table(phy_total_filtered)[1:9,1:3]
length(dim(otu_table(phy_total_filtered)))
sum(!is_wholenumber(otu_table(phy_total_filtered)))
colnames(otu_table(phy_total_filtered))[1:10]
rownames(otu_table(phy_total_filtered))[1:10]
So it seems to me that the dimensions, the structure, class, content, names etc. of the otu-table is just fine. I do not know what else to check.
Package versions are phyloseq: 1.42.0, metagMisc 0.5.0
The error I get seems like a phyloseq related error related to this to me which is why I am posting here, but eventually I just don't know. If this is an issue of compatability of this one specific function and my data is fine as it is, is there maybe a way to circumvent the error and have the code run anyways?
Also I tested
So if I feed the entire phyloseq object, the dimension is NULL, so I tried to only input the otu-table like this
but the error still appeared.
Any help is appreciated.