From 0571c081718d49b33334e952c7dc8767b63104f3 Mon Sep 17 00:00:00 2001 From: Lieven Clement Date: Mon, 26 Aug 2024 10:50:46 +0200 Subject: [PATCH] updated experimentalDesign with RFast --- pda_experimentalDesign1.Rmd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pda_experimentalDesign1.Rmd b/pda_experimentalDesign1.Rmd index 21e6e8c..704a5d5 100644 --- a/pda_experimentalDesign1.Rmd +++ b/pda_experimentalDesign1.Rmd @@ -3,6 +3,9 @@ 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 @@ -10,13 +13,9 @@ output: toc_float: true highlight: tango number_sections: true - pdf_document: - toc: true - number_sections: true linkcolor: blue urlcolor: blue citecolor: blue - bibliography: msqrob2.bib --- @@ -29,6 +28,7 @@ knitr::opts_chunk$set( ) library(tidyverse) if(!requireNamespace("NHANES", quietly = TRUE)) {install.packages("NHANES")} +library(Rfast) library(NHANES) library(gridExtra) ``` @@ -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