Closed aboffin closed 5 years ago
Thank you, I could reproduce the issue and found that this is cause by a wrong default depth. The documentation said default depth will be 1000 but apparently this was set to 0. So if you run it with a depth set it will work:
d <- rtk(input='../results/plt_CRAnoxy/Anoxy.s3', ReturnMatrix=1, depth = 1000)
I'll fix this small bug in the future.
I hope this solves the issue, if not please let me know.
Hi,
I am able to run rtk with 16S rRNA OTU abundance as follows:
The above works as intended and I get the output tables for alpha diversity measurements.
I want to plot the alpha diversity measures in R. So instead, I thought of using the rtk library provided for R and I used the same CSV input file.
And
d
shows:The data in the CSV file looks like this:
Any pointers on how to import the tabular data generated by the C++ binary in R as rtk object for plotting the results are appreciated.
Thank you in advance, Sen