Skip to content

Commit

Permalink
updated experimentalDesign with RFast
Browse files Browse the repository at this point in the history
  • Loading branch information
lievenclement committed Aug 26, 2024
1 parent 1ae4c6f commit 0571c08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pda_experimentalDesign1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ title: "Experimental Design"
author: "Lieven Clement"
date: "[statOmics](https://statomics.github.io), Ghent University"
output:
pdf_document:
toc: true
number_sections: true
html_document:
code_download: true
theme: flatly
toc: true
toc_float: true
highlight: tango
number_sections: true
pdf_document:
toc: true
number_sections: true
linkcolor: blue
urlcolor: blue
citecolor: blue

bibliography: msqrob2.bib

---
Expand All @@ -29,6 +28,7 @@ knitr::opts_chunk$set(
)
library(tidyverse)
if(!requireNamespace("NHANES", quietly = TRUE)) {install.packages("NHANES")}
library(Rfast)
library(NHANES)
library(gridExtra)
```
Expand Down Expand Up @@ -757,7 +757,7 @@ franc %>%

### Correct analysis

```{r echo = FALSE, warning = FALSE, message = FALSE}
```{r}
lmBiorep <- lm(intensityLog2 ~ -1 + biorep, franc)
francSum <- data.frame(genotype = rep(c("D8","WT"),each=3) %>% as.factor %>% relevel("WT"), intensityLog2 = lmBiorep$coef)
francSum
Expand Down

0 comments on commit 0571c08

Please sign in to comment.