Are voomByGroup and voomLmFit compatible?
2
0
Entering edit mode
@richardallenfriedmanbrooklyn-24118
Last seen 8 weeks ago
United States

Dear List,

Are voomByGroup and voomLmFit compatible?

That is to say, can voomLmFit be subsituted for voom in the voomByGroup script?

If so, cab the points be weigted?

Thanks and best wishes,

Rich

Richard Friedman

Columbia University Cancer Center

limma voomLmFit voomByGroup • 580 views
ADD COMMENT
0
Entering edit mode

Not sure what "points" you are referring to, or what you mean by them being "weighted".

ADD REPLY
0
Entering edit mode

Gordon,

I missed this a few days ago. I meant the sample weighting option.

I will ask on the github page.

Best wishes,

Rich

0
Entering edit mode

Your question is a bit cryptic, Rich. Are you trying to rewrite the voomByGroup() function yourself, to incorporate functionality that the original authors didn't include? I think it might be difficult or dangerous to try to incorporate samples weights into the voomByGroup approach.

ADD REPLY
1
Entering edit mode
@gordon-smyth
Last seen 43 minutes ago
WEHI, Melbourne, Australia

voomByGroup isn't part of Bioconductor, so questions about it should be send to the voomByGroup issues page.

I haven't brought voomByGroup into limma because it only works correctly for pretty simple design matrices and so, as currently written, it doesn't fully support the limma pipeline context.

I can tell you though that you can't simply replace voom() with voomLmFit() and set sample.weights=TRUE. Incorporating sample weights into the voomByGroup() approach would be somewhat hard.

ADD COMMENT
0
Entering edit mode

Hi Gordon Smyth, can I ask a side question here, as it probably does not merit its own post: I see in voomByGroup when applied to pseudobulk scRNA-seq that the BCV is pretty much a linear function of the number of cells used to form the pseudobulk. Would (given that the smallest bulk still has a good number of cells, whatever that might be, maybe 50), it be beneficial to subsample cells before pseudobulking or does voombyGroup fully take care of this? Based on what I understand, it's exactly designed for these group-specific variations, is it?

ADD REPLY
1
Entering edit mode

I derived an approximate formula for the BCV of the pseudo-bulk data, which is given on page 17 of the published paper.

No need to subsample. Don't discard data. The voomByGroup takes care of that.

ADD REPLY
0
Entering edit mode

Gordon,

Thank you for the clarification.

Best wishes,

Rich

Login before adding your answer.

Traffic: 298 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6