I'm new to R and have trouble importing data to decontam as phyloseq objects. The OTU table and taxonomy is in .txt and the metadata in an excel file. Could someone help?
I am alsy new to are and have troubles importing the MetaPhlAn3 output table as a phyloseq object to use that for the R package decontam. I merged several metaphlan analyses with the metaphlan internal command "merge_table".
Then I imported the data into R using the read.table command:
If i can't use characters, do I need to abbreviate the clade name with numbers and link the real clade name to the numbers in another file?
Or is there another possibility of a work around?
Either way, I will also post this as a new issue :)
I'm using the function phyloseq_filter_prevalence to filter a phyloseq data. I got an error OTU abundance data must have non-zero dimensions... df<-phyloseq_filter_prevalence(physeq = myphylo, prev.trh …
![My rarefaction curve][1] [1]: /media/images/571691e4-42b6-4d5e-a35b-d9b1b967 I don't know why my rarefaction curve for most samples does not reach saturation. Please how can I improve te …
I want to extract otu table from the phyloseq object: > physeq_N phyloseq-class experiment-level object otu_table() OTU Table: [ 1581 taxa and 4 samples ] …
Hi everyone, I am currently in the process of removing unwanted taxa (Kingdom="Eukaryota", Family="Mitochondria", and Order="Chloroplast") from a phyloseq object I created. This phyloseq object …
Hi,
Can you provide the code that you used or the error that you got, please?
António
Hey Antonio,
I am alsy new to are and have troubles importing the MetaPhlAn3 output table as a phyloseq object to use that for the R package decontam. I merged several metaphlan analyses with the metaphlan internal command "merge_table".
Then I imported the data into R using the read.table command:
After that, I wanted to assign this to an otu_table
and I receive:
What am I doing wrong?
Hi,
Your data
merged_metaphlancontains columns that are character or factor, i.e., not all the columns are numbers.Can you provide a quick overview of the table here, by doing:
head(merged_metaphlan)Though I would advise you to add a new post with this issue, because it is not related with the question on this post.
António
Thanks a lot for the prompt answer! Here is an overview of the object merged_metaphlan
If i can't use characters, do I need to abbreviate the clade name with numbers and link the real clade name to the numbers in another file? Or is there another possibility of a work around?
Either way, I will also post this as a new issue :)