transform_rownames_R_to_MATLAB {YAPSA} | R Documentation

## Change rownames from one naming convention to another

### Description

Rownames or names of the features used differ between the different contexts a signature analysis is carried out in. The function `transform_rownames_R_to_MATLAB` changes from the convention used in the YAPSA pacakge to the one used by Alexandrov et al. in the MATLAB framework.

The function `transform_rownames_MATLAB_to_R` changes from the convention used in Alexandrov et al. in the MATLAB framework to the one used by the YAPSA pacakge.

The function `transform_rownames_MATLAB_to_R` changes from the convention used in stored mutational catalogues by Alexandrov et al. to the one used by the YAPSA pacakge.

The function `transform_rownames_YAPSA_to_deconstructSigs` changes from the convention used in the YAPSA package to the one used by the deconstructSigs package.

The function `transform_rownames_YAPSA_to_deconstructSigs` changes from the convention used in the deconstructSigs package to the one used by the YAPSA pacakge.

### Usage

    transform_rownames_R_to_MATLAB(in_rownames, wordLength = 3)

    transform_rownames_MATLAB_to_R(in_rownames, wordLength = 3)

    transform_rownames_nature_to_R(in_rownames, wordLength = 3)

    transform_rownames_YAPSA_to_deconstructSigs(in_rownames, wordLength = 3)

    transform_rownames_deconstructSigs_to_YAPSA(in_rownames, wordLength = 3)

### Arguments

`in_rownames` | Character vector of input rownames
`wordLength` | Size of the considered motif context

### Value

A character vector of the translated rownames.

### Examples

    NULL

[Package YAPSA version 1.18.0 Index]