limma wsva() does not return what it says it will
1
0
Entering edit mode
Jenny Drnevich ★ 2.0k
@jenny-drnevich-2812
Last seen 11 days ago
United States

I've started to play around with limma's new wsva() function to generate surrogate variables. The help page says under Value: "Numeric matrix, same as design but with n.sv columns added containing the surrogate variables.". However, the actual value returned is just the surrogate variables, not the original design matrix plus the surrogate variables. It's no problem to add them myself, but I thought I'd point out the inconsistency.

Thanks for always expanding and adding new functionality!

limma • 885 views
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 5 hours ago
WEHI, Melbourne, Australia

Thanks for the heads-up. I've corrected the help page now. (Earlier versions of the function did output the whole augmented design matrix instead of just the surrogate variables.)

ADD COMMENT

Login before adding your answer.

Traffic: 622 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