Negative Binomial model for microbiome data
1
0
Entering edit mode
@wisamtariqsaleem-22031
Last seen 4.6 years ago

Hi!

I tried to see how NB model is suitable for microbiome data as mentioned in DESeq2, I used this junk of codes. Could you correct me please, if I am out of the track? I used phyloseq object 'dietswap'.

library(DESeq2)
library(microbiome)
library(ggplot2)
data("dietswap")
a <- rowMeans(abundances(dietswap))
dfs <- data.frame(taxa = names(a), meanabundance = a) %>% arrange(meanabundance) %>% mutate(taxa = factor(taxa, levels = rev(unique(taxa))))
p <- ggplot(dfs, aes(x = taxa, y = meanabundance)) +
geom
histogram(stat = "identity") +
labs(x = "taxa", y = "Mean read count (N)", title = "abundance curve")
print(p)

deseq2 • 998 views
ADD COMMENT
0
Entering edit mode

I've removed the "DESeq2" tag and replaced with a "microbiome" tag. Please don't add irrelevant tags as it produces emails to package developers.

ADD REPLY
0
Entering edit mode

Dear Michael Please, the question about DESeq2 approach, nothing to do with microbiome!

ADD REPLY
0
Entering edit mode
@mikelove
Last seen 1 day ago
United States

I don't recommend DESeq2 for microbiome data, as I did no testing on microbiome data during the development of the software, nor am I an expert in this area of bioinformatics.

ADD COMMENT
0
Entering edit mode

Dear Micheal Thanks for your reply. Could you explain a bit or send me papers about not recommended DESeq2 for microbiome data, I think there are labs that use DESeq2 as an important part of the microbiome analysis.

ADD REPLY
0
Entering edit mode

It's not really my field. I've seen presentations at conferences where more appropriate methods are developed, but to be honest I don't know what the best methods are.

ADD REPLY

Login before adding your answer.

Traffic: 1097 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6