Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. prev.ordNMDS_data1 <- ordinate(data1_prev_norm, "NMDS", "bray") plot_ordination(data1_prev_norm,
  2.  
  3. ordination = prev.ordNMDS_data1, color="Region") + theme_minimal() + geom_point(size=5)
  4.  
  5. > ntaxa(mymensingh_all)
  6. [1] 44481
  7. > abund <- otu_table(mymensingh_all)
  8. > abund_ranks <- t(apply(abund, 1, rank))
  9. > abund_ranks <- abund_ranks - 20000
  10. > abund_ranks[abund_ranks < 1] <- 1
  11. > prev.ordNMDS_rank <- ordinate(abund_ranks, "NMDS", "bray")
  12. Error in ordinate(abund_ranks, "NMDS", "bray") :
  13. Expected a phyloseq object or otu_table object.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement