Comments (9)
you are missing a c() for the first command.
Please try and let me know. Also this command depend on the column names of your dataset (similarly to model.matrix command)
from tidybulk.
Is the reply here helpful?
https://support.bioconductor.org/p/9149049/#9149050
otherwise I can elaborate further.
from tidybulk.
Thank you. Useful comment.
Will this work?
test_differential_abundance( ~treatment, method = “”, contrast = (“treatmentT1 + treatmentT2 + treatmentT3)/3 - treatmentControls")
will work for edgeR and limma-voom right.
will
test_differential_abundance (~treatment, method = “DESeq2”, contrast = list (c(“ treatmentT1 + treatmentT2 + treatmentT3)/3 - treatmentControls”)
work for DESeq2
Am I right?
from tidybulk.
Got it . Thank you. I will try this first thing tomorrow and let you if this works. I will also ensure the column names are ok & matching the ones specified in the function.
from tidybulk.
I tried the following code
counts %>% test_differential_abundance( ~ , method = “DESeq2”, contrasts = list (c(-1, 1/3, 1/3, 1/3)), omit_contrast_in_colnames = TRUE)
No errors while running the DESeq2 codeBut when I check number of DE genes , I get 43 Up and 15100 odd genes Downregulated. That seems odd. Right?
I used the following for edgeR/ limma voom
counts %>% test_differential_abundance( ~ , method = “”, contrasts = c(-1, 1/3, 1/3, 1/3), omit_contrast_in_colnames = TRUE)
I get the following warnings while running edgeR/voom
Are there issues related to default edgeR in tidybulk? https://support.bioconductor.org/p/9147697/
from tidybulk.
Update for the DESeq2. I tried excluding the intercept in the formula by specifying ~ 0 + treatment . That seem to work! Yet to figure something out for edgeR/voom
from tidybulk.
I used the following for edgeR/ limma voom
counts %>% test_differential_abundance( ~ , method = “”, contrasts = c(-1, 1/3, 1/3, 1/3), omit_contrast_in_colnames = TRUE)
couple of points,
- always specify a method, not "".
- Please see documentation ?test_differential_abundance on how to set contrasts for edgeR and voom. Please execute the examples in the documentation first.
from tidybulk.
Thank you. I am working on a different computer. so I am manually typing the commands and the output here. It’s difficult to type the entire method , so I obviously change the method argument and take care of the syntax when I try the command on my work PC.
The above command for edgeR/limma generated the warnings as shown in the picture above. Anyways thank you for the help.
from tidybulk.
Close for inactivity
from tidybulk.
Related Issues (20)
- Normalization method (scaling) HOT 9
- for SE save internals within the metadata rather than attributes.
- github action mac fail HOT 1
- DEG Analysis Between Single Group with Multiple Groups HOT 6
- "Proportion of variance explained" values on reduce_dimensions() output HOT 1
- github actions give preflight error for the whole tidy stack HOT 1
- ERROR; return code from pthread_create() is 22 HOT 3
- pathway analysis using tidybulk HOT 8
- Remove batch effect in test_differential_abundance
- Warning in CHECK, mistery
- test
- Improve the documentation for `tidybulk` HOT 29
- turn pseudobulk from scRNAseq with logCPM value back to a seurat object with counts value? HOT 2
- `tidybulk` Remove hard dependency for `DESeq2` HOT 12
- in `test_gene_rank` check if any feature is NA, because pivot_feature will fail
- the attribute "internals" $ tt_columns abundance_scaled, carries the environment with it inflating the RDS file size
- Prepare for upcoming Seurat v5 release
- Add the method to simplify complete confounders is they are not factor of interest
- limma:MakeContrasts integration issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tidybulk.