sample_names: Retrieve sample names from a musica or musica_result object

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
3
4
5
6
7
sample_names(object)

## S4 method for signature 'musica'
sample_names(object)

## S4 method for signature 'musica_result'
sample_names(object)

Arguments

object

A musica object generated by the create_musica function or a musica_result object generated by a mutational discovery or prediction tool.

Value

A character vector of sample names

Examples

1
2

musicatk documentation built on Nov. 8, 2020, 5:16 p.m.