Sample names were included in the sample column
in the variant object passed to create_musica. This returns
a unique list of samples names in the order they are inside the
musica object.
sample_names(object)
# S4 method for musica
sample_names(object)
# S4 method for musica_result
sample_names(object)A musica object generated by
the create_musica function or a musica_result
object generated by a mutational discovery or prediction tool.
A character vector of sample names
data(res)
sample_names(res)
#> [1] TCGA-56-7582-01A-11D-2042-08 TCGA-77-7335-01A-11D-2042-08
#> [3] TCGA-94-7557-01A-11D-2122-08 TCGA-97-7938-01A-11D-2167-08
#> [5] TCGA-EE-A3J5-06A-11D-A20D-08 TCGA-ER-A197-06A-32D-A197-08
#> [7] TCGA-ER-A19O-06A-11D-A197-08
#> 7 Levels: TCGA-56-7582-01A-11D-2042-08 ... TCGA-ER-A19O-06A-11D-A197-08