Closed yakshiUPR closed 9 years ago
This is the way I import my information into phyloseq:
library(phyloseq)
biom <- import_biom("GM_all.biom", parseFunction = parse_taxonomy_greengenes)
rank_names(biom) taxtable = tax_table(biom) taxtable[1:10]
map <- import_qiime_sample_data("Gorilla_all_map.txt")
library(ape) tree_Q = read.tree("GM_all.tre") tree_Q is.rooted(tree_Q) any(tree_Q$tip.label == "'OTU_1100'")
tree_Q = root(tree_Q, 1, resolve.root = T)
GM <- merge_phyloseq(biom, tree_Q, map) GM
ntaxa(biom) ntaxa(GM)
Hope this helps. Might be a better way, works for me at least.
Cheers,
Carly
I suspect this is closed. Let me know if I'm wrong by posting a reproducible example.
Hi everyone,
Im new to phylose and I have been trying to get my files to work within the package. I created a folder within the package called "tabe_original" where I placed my OTU table, Mapping file and my tree file.
I followed the tutorial, and this is what I got.
Its not importing the tree file. I also tried to upload the tree file from another folder, and got this:
I will appreciate any kind of help or suggestions. Many thanks, Yakshi