Giter Site home page Giter Site logo

Comments (1)

MikeDMorgan avatar MikeDMorgan commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.