Get Standardized Flag
Source:R/AllGenerics.R, R/twasWeights.R, R/twasWeightsRow.R
weightStandardized.RdCheck whether weights are on the standardized scale.
Usage
weightStandardized(x, ...)
# S4 method for class 'TwasWeights'
weightStandardized(
x,
studyName = NULL,
context = NULL,
trait = NULL,
method = NULL
)
# S4 method for class 'TwasWeightsRow'
weightStandardized(x)Arguments
- x
A
TwasWeightsRoworTwasWeights.- ...
Class-specific selection arguments.
- studyName
Character (length 1) or
NULL. Restrict the selection to this study;NULLmatches all studies.- context
Character (length 1) or
NULL. Restrict the selection to this context;NULLmatches all contexts.- trait
Character (length 1) or
NULL. Restrict the selection to this trait;NULLmatches all traits.- method
Character (length 1) or
NULL. Restrict the selection to this fine-mapping / weight method;NULLmatches all methods.
Examples
data(ctwasWeightsExample)
weightStandardized(ctwasWeightsExample)
#> [1] TRUE