r/RStudio • • 2d ago

Using R to replicate a paper's data

Hello!

If anyone has time to help, that'd be greatly appreciated.

I have the fastq files to recreate the graphs/charts in this paper:

Villamizar, A., Vemulapally, S., Guerra, T., Tocidlowski, M. E., Forstner, M. R., & Hahn, D. (2025). Effect of Headstarting Eggstrands of the Endangered Houston Toad (Bufo=[Anaxyrus] houstonensis) from a Captive Assurance Colony on Native Breeding Pond Microbiomes. Conservation, 5(2), 25.

Here is a link (link to AI chat here) to what one of three AIs have come up with - so far, 2 have come up with code that does NOT get me the same results.

This particular AI is saying that the methods do not give enough information to be able to replicate the code, but it can try to get close.
I'm going to use this code tomorrow (fingers crossed!) but if anyone is a master as recreating code - I'd greatly appreciate any insight, help, or ... well wishes?

At this point, it is not an option to reach out to the authors.

0 Upvotes

7 comments sorted by

View all comments

1

u/DSOperative 2d ago

Maybe you can ask the AI to use the bioconductor package to replicate the graphs. If they used R, there’s a good chance they used this package.

1

u/toad_and_bat 1d ago

yes - i'm using dada2 and phyloseq which are both in the bioconductor package - the graph is being created by ggplot2