Access the sample IDs, i.e. col names, of a AnyHermesData
object with a
nicely named accessor method.
# S4 method for AnyHermesData
samples(object)
(AnyHermesData
)
input.
The character vector with the sample IDs.
genes()
to access the gene IDs.
a <- hermes_data
samples(a)
#> [1] "06520011B0023R" "06520067C0018R" "06520063C0043R" "06520105C0017R"
#> [5] "06520092C0017R" "06520103C0017R" "06520001B0023R" "06520022C0017R"
#> [9] "06520062C0017R" "06520046C0018R" "06520101B0017R" "06520047C0017R"
#> [13] "06520024B0014R" "06520080B0023R" "06520093C0017R" "06520070C0018R"
#> [17] "06520023C0018R" "06520099B0017R" "06520015C0016R" "06520019C0023R"