Get Unique Trait Names
Source:R/AllGenerics.R, R/GwasFineMappingResult.R, R/QtlFineMappingResult.R, and 2 more
getTraits.RdReturn the unique trait identifiers carried by a collection
class (e.g., QtlSumStats).
Usage
getTraits(x)
# S4 method for class 'GwasFineMappingResult'
getTraits(x)
# S4 method for class 'QtlFineMappingResult'
getTraits(x)
# S4 method for class 'QtlSumStats'
getTraits(x)
# S4 method for class 'TwasWeights'
getTraits(x)Examples
data(qtlSumStatsExample)
getTraits(qtlSumStatsExample)
#> [1] "ENSG_example"