Get Unique Trait Names
Source:R/AllGenerics.R, R/GwasFineMappingResult.R, R/H2Estimate.R, and 4 more
traitNames.RdReturn the unique trait identifiers carried by a collection
class (e.g., QtlSumStats), the trait names of an
SldscData, or the single trait label an
H2Estimate was computed for.
Usage
traitNames(x)
# S4 method for class 'GwasFineMappingResult'
traitNames(x)
# S4 method for class 'H2Estimate'
traitNames(x)
# S4 method for class 'QtlSumStats'
traitNames(x)
# S4 method for class 'QtlFineMappingResult'
traitNames(x)
# S4 method for class 'SldscData'
traitNames(x)
# S4 method for class 'TwasWeights'
traitNames(x)Examples
data(qtlSumStatsExample)
traitNames(qtlSumStatsExample)
#> [1] "ENSG_example"