Extract weight matrices from a TWASWeights object.
Usage
getWeights(x, method = NULL)
# S4 method for class 'TWASWeights'
getWeights(x, method = NULL)
Arguments
- x
A TWASWeights object.
- method
Character, specific method name. If NULL, returns all.
Value
A matrix or named list of matrices.