Hi,
I am having trouble executing alpha diversity using my data, following this very appreciated Tutorial.
I checked my data, here is the Venn diagram.
Note: the input file that I want to run contains 702 samples. (I am interested in the 702 samples).
Then, I added a column for the Faith phylogenetic diversity to the table.
Then, I ran the filter and plotting code below:
metadata %>%
filter(!is.na(FD)) %>%
ggplot .......... etc.
I go this error message below:
Error in filter()
:
! Problem while computing ..1 = !is.na(FD)
.
Input
..1
must be of size 778 or 1, not size 702.
Run rlang::last_error()
to see where the error occurred.
I am not sure how I should tackle this problem. So, I tried the following:
I created a new metadata file (where I have 702 samples) that matches the FD2 file. Please see the Venn diagram here.
Then, I added a column for the Faith phylogenetic diversity to the table.
Then, I ran the filter and plotting code below:
metadata %>%
filter(!is.na(FD)) %>%
ggplot .......... etc.
I got a different error messages below:
Error in filter()
:
! Problem while computing ..1 = is.na(FD2)
.
Input
..1
must be a logical vector, not a logical[,3].
I'm having some difficulty resolving this issue and I would really appreciate your help and guidance.
Please read the following before posting!
Is this post a General Discussion topic? Have you reviewed the QIIME 2 Forum Glossary? Post to this category if you have a general question about microbiome science, bioinformatics, or other general questions, ideas, or topics to discuss. Please do not post questions here that have to do with technical support requests. Posts in this category are not guaranteed a response.