Comments (4)
Hi @auesro,
generally the Dirichlet-Multinomial distribution used in scCODA is not subcompositionally coherent. That means that adding or removing features (="populations") can change whether features that were not added or removed are compositionally different.
However, if you remove a feature that has approx. the same proportion in all samples, it is very unlikely that the result is influenced.
Thus, it is generally safe to try out removing features from the composition, but this may influence the results.
from sccoda.
I see.
That means that if you have a low number of samples (4 in my case: 2 controls and 2 experimental), removing a population might influence the end result given the low number of samples and inherent differences in the composition, am I right?
from sccoda.
Yes, exactly. This is simply due to the nature of compositional data, as all populations are correlated (i.e. increasing the share of one population decreases the share of all others). If you remove one population, the share of all other populations will increase, but not necessarily by the same amount in both conditions, as you removed a different share in each sample.
Also due to the low number of samples, one outlier could have quite a large impact on the end result.
My suggestion would be to simply take a look at the result after removing the two populations and see if some cell types are differentially abundant then.
from sccoda.
Thanks a lot, @johannesostner, very insightful!
from sccoda.
Related Issues (20)
- Cell identities displaying as numbers? HOT 1
- loading data with dat.from_scanpy HOT 2
- Zero log2-fold change but credible change being identified? HOT 3
- Understanding inclusion probability HOT 4
- All cell types as reference loop error HOT 17
- Feature Request: log10 scaling for Boxplots HOT 1
- Feature Request: Automatically print significance indicator in boxplots HOT 1
- access sim_results.summary() for further analysis in R HOT 2
- scCODA p-values? HOT 1
- Replace sklearn dependency with scikit-learn HOT 1
- Bootstrap or splitting my samples HOT 2
- conda compatibility HOT 4
- TypeError: '<' not supported between instances of 'str' and 'int' on toy dataset HOT 1
- Questions about generalizability to other NGS datasets HOT 1
- AttributeError: module 'arviz' has no attribute 'data' HOT 2
- Error when num_burnins > num_results HOT 4
- Exporting Summary Results HOT 1
- additive effects and interaction terms HOT 3
- model comparison using LOO/WAIC HOT 2
- Tutorial for R/reticulate HOT 3
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 sccoda.