sarahtanja / anemone-leachate

This science experiment tests the photobiology, microbiome, and gene expression responses of the aggregating sea anemone to plastic pollutant derived leachate
1 stars 0 forks source link

Kip Does ANOVA in R #4

Open sarahtanja opened 2 months ago

sarahtanja commented 2 months ago

Hey Kip follow this tutorial to build out the ANOVA code for the 'rates' dataframe

https://statsandr.com/blog/anova-in-r/

sarahtanja commented 2 months ago

@KHowel remember to push this up to the repo

sarahtanja commented 2 months ago

Graphing in R resources: https://r-graph-gallery.com/ https://r-graph-gallery.com/boxplot.html

sarahtanja commented 2 months ago

use the rates.csv file , if you need an example I already did a quick anova in sarah-anova.qmd

one thing to note is the 0.01, 0.1, etc. is not a percent.. it's a concentration in mg/L of microplastic to seawater.

Can you go back to the google sheet and change the names of the treatments in the dropdown to reflect that?

P.S. naming conventions in R don't like the use of () characters because that's the code to call a function. Use only _ underscores. I'd suggest something like PPa_0.01

KHowel commented 2 months ago

I'm currently going through the ANOVA and fixing up the QAQC, but it's not saving properly. I did a commit and push and pull earlier, but don't think it showed up on the hub

KHowel commented 2 months ago

I'll fix the naming conventions right now

sarahtanja commented 2 months ago

ok, don't worry about the QAQC in the respirometry.qmd doc... I'm double checking that (and adding to it a bit to account for the background blanks)

Just work on your new ANOVA analysis with the rates.csv and making pretty boxplots

The beauty of R is you can build out your code, while I finish the QAQC... and when we get updated rates all you have to do is re-run the code you've made

If you're not pushing/puling try in the Terminal:

git status

git add .

git commit -a -m "your message here"

git pull

git push

put each command on it's own line and enter before moving on to the next one

sarahtanja commented 2 months ago

p.s. nice work! I see your ANOVA got pushed into the respirometry folder

sarahtanja commented 2 months ago

Keep it up!