Comments (1)
Hi @kane9530 Thanks for using Milo. In this situation where you are comparing across tissues/cancer grades/stages then it makes sense to split the donors that have cells derived from both into separate samples. The slight issue here then is that these are not strictly independent and identically distributed (iid) samples (they are dependent when they come from the same donor).
I think you've basically landed on the two ways to address this:
- only use one tissue from either donor - you could compare the analyses for different combinations of which donor tissue sample is included if you are concerned about sensitivity, e.g., one donor contains many more cells than the other.
- create the additional 2 "samples" by splitting the adenocarcinoma & polyps into separate samples for these 2 donors, then add a variable to the model that marks only the samples that come from the same donor. This will adjust the mean effect, though it doesn't strictly handle the dependence structure.
The small number of donors with multiple tissues is the main problem - if they all had multiple samples you could include a the donor ID in the model to allow for pairing. Unfortunately, this won't work in this case as you'd use all of your degrees of freedom. From a purely statistical model point of view, dropping one of each sample would correctly address the issue and wouldn't violate the iid assumption of the GLM.
from milor.
Related Issues (20)
- Can I run calcNhoodDistance before countCells HOT 2
- when should buildGraph be used with transposed=TRUE? HOT 4
- findNhoodGroupMarkers: overlapping nhoods in fake.meta HOT 2
- Mixed effects models with contrasts HOT 2
- Choice of fdr.weighting in testNhoods HOT 2
- scVI corrected dimensions with MiloR HOT 1
- plotNhoodSizeHist not lining up with nhoodCounts HOT 2
- Use milo with continuous variable HOT 1
- First level loss when running testNhoods with multiple contrasts and multiple batch HOT 3
- Update contrasts documentation
- How to implement more complex contrast formulas HOT 3
- How to extract cell barcode identified by MiloR? HOT 2
- error in makeNhoods HOT 3
- Color scale missing (res_column) in plotNhoodGraphDA() HOT 2
- plotNhoodGraphDA does not display logFC data HOT 2
- Milo not identifying significant results HOT 8
- Reorder Ident in plotDAbeeswarm HOT 4
- makeNhoods missing cell ids HOT 2
- Results Changed HOT 2
- Error: (converted from warning) 'as(<dgTMatrix>, "dgCMatrix")' is deprecated. HOT 4
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 milor.