Entering edit mode
2.9 years ago
claire.garfield
•
0
Hello, I'm working through the Constructing and Analyzing Microbiome Networks in R (Mehdi Layeghifard, David M. Hwang, and David S. Guttman) tutorial with some of my own data. I tried plot_dendrogram(wt), but got an error : Error in seq_len(length(miss) - 2) : argument must be coercible to non-negative integer. TIA!
"tutorial with some of my own data".....does the function work with the original data from the tutorial? If so, what is the difference between the data object from the tutorial and the object containing your data? Are they the same type? (call class() on each one). Is it a complex object with different components? How might these differ between your data and the original data? Can you alter a copy of the original tutorial object, and still get it to work? Before throwing your data at it, is it possible to construct a small toy object that would work?