Comments (8)
Hello,
a tutorial was meant to go to our blog very long time ago. But we don't have enough forces to keep up.
tidyomics/tidyomicsBlog@0d498f0
Have a look, and if you want to improve and be the one publishing it to the repo, with that you will become a contributor to tidytranscriptomics! In that case, feel free to change the author's name to yours.
from tidybulk.
Thank you. I will try that from my end.
Another question:
I have a treatment column that’s made of Control, T1 , T2 and T3 samples.
I am interested in looking at genes that are different between Control and (T1,T2,T3)
For now , I was setting Control as the reference using relevel function and then used test_differential_abundance(~treatment) for DE analysis/ DE methods comparison. I dont need a superset of genes that’s composed of C vs T1 , C vs T2 and C vs T3. I need DE genes that are different between control and treatments (combined). Is this method correct?
One more question, how does one incorporate complicated design matrix in the model? for example, I would like to compare Control Average versus Treatment average in the test_differential_abundance function?
They have given the comparison in the publication here : https://f1000research.com/articles/9-1444
makeContrasts((T1+T2+T3)/3-Control, levels=colnames(design))
How do I incorporate such complicated contrasts/design into the test_differential_abundance function and contrasts argument?
Is there an easy way to extract contrasts comparison made for DESeq2, limma and edgeR easily?
For DESeq2, I was able to figure this out using the code
resultNames(attr(counts_de, “internals”)$DESeq2
Unable to extract such comparisons from edgeR and limma.
Thank you so much for all of your help. I have recently used tidybulk extensively and am looking to incorporate tidyseurat in the future. Keep up the good work! Thanks again,
Aditya
from tidybulk.
-
If I understood your design, you should have treatment as a binary factor "treated", "untreated".
-
there is the contrast argument, for more complex designs
s there an easy way to extract contrasts comparison made for DESeq2, limma and edgeR easily?
I don't understand what you mean by "extract contrasts". Can you please reformulate?
from tidybulk.
Thank you. Good suggestion. Are you suggesting combining treatments into 1 group? Will it not result in issues for DE tools to model dispersion within those treatment groups?
How can I input such complicated contrast in the function?makeContrasts((T1+T2+T3)/3-Control, levels=colnames(design))
from tidybulk.
It is not clear how many samples for how many conditions you have. It is hard for me to suggest an analysis design with so little information, and besides, I don't really know what is the biological question, which should dictate the design matrix and contrasts.
from tidybulk.
Sure. I will try to make it clear in this comment. I have 12 samples - 3 Controls, 3 T1 , 3 T2 and 3 T3. I am interested in looking at genes that are different between controls and treatment. Also I would like to obtain DE genes that are different between control average and treatment average for which I had provided the contrast above that I want from the analysis (T1 + T2 + T3)/3 - Controls.
I am unable to input such contrasts in the test_differential_abundance function under the contrasts argument.
Can you suggest the design and contrasts arguement for looking at
- control vs treatments and
- controls average versus treatment average.
from tidybulk.
I see, can you show me your code, and the error. For this can you please open a new issue, because this diverged from the original, and often people look for issue title to solve theirs.
from tidybulk.
okay opening a new issue
from tidybulk.
Related Issues (20)
- 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
- Design and contrasts for tidybulk test differential abundance function HOT 9
- 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
- The sample data of the `test_gene_enrichment()` function reports an error and cannot be used. 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.