#gp.st is a data frame object containing the lipid classes (columns) abundance for each individual sample (rows)
#mtdt2.cl is a data frame object containing samples' metadata (e.g: sex, maternal group, etc) organized in columns.
BiocManager::install("car")
library(car) anv<-apply(gp.st,2,function(x){a<-cbind("lipid"= x,"sex"=mtdt2.cl$sex,"group"=mtdt2.cl$group) a<-as.data.frame(a) a$lipid<-as.numeric(as.character(a$lipid)) model=lm(lipid ~ group + sex + group:sex, data = a) b<-Anova(model, type="II") c<-b$`Pr(>F)`[1:3] }) rownames(anv)<-c("group","sex","group:sex")
Copyright: Content may be subjected to copyright.
How to cite:
Readers should cite both the Bio-protocol preprint and the original research article where this protocol was used:
Carminatti Pantaleao, L, Inzani, I and Ozanne, S(2022). Untargeted and targeted lipidomics – statistical analysis: Factoria ANOVA in R. Bio-protocol Preprint. bio-protocol.org/prep1799.
Pantaleão, L. C., Inzani, I., Furse, S., Loche, E., Hufnagel, A., Ashmore, T., Blackmore, H. L., Jenkins, B., Carpenter, A. A. M., Wilczynska, A., Bushell, M., Koulman, A., Fernandez-Twinn, D. S. and Ozanne, S. E.(2022). Maternal diet-induced obesity during pregnancy alters lipid supply to mouse E18.5 fetuses and changes the cardiac tissue lipidome in a sex-dependent manner. eLife. DOI: 10.7554/eLife.69078
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this
article to respond.
0/150
Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.
Spinning
Post a Question
0 Q&A
Spinning
This protocol preprint was submitted via the "Request
a Protocol" track.