getCTS {BioTIP} | R Documentation

## Obtain the identified BioTiP and its length

### Description

getCTS obtains the identified BioTiP and its length based off of MCI scores.

### Usage

    getCTS(maxMCI, maxMCIms)

### Arguments

`maxMCI` | A numeric vector, whose length is the number of states. This parameter is the maximum MCI score of each state, and it can be obtained from the output of `getMaxStats`. Names need to be included in names of `maxMCIms`.
`maxMCIms` | A list of character vectors per state. The vectors are network nodes (e.g. transcript ids). This parameter is the second element of the output of the function `getMaxMCImember`.

### Value

A character vector, in which the elements are the unique IDs of the network nodes of the BioTiP.

### Author(s)

Antonio Feliciano y Pleyto and Zhezhen Wang zhezhen@uchicago.edu

### Examples

    maxMCI <- c(a = 2.56, b = 8.52, c = 2.36, d = 4.81, e = 5.26)
    maxMCIms <- list(a = c("A100", "A293", "C403"), b = c("B853", "D826", "A406"), c = c("J198", "D103", "B105"), d = c("K529", "D385", "E358"), e = c("J019", "U926", "N824"))
    identical(names(maxMCI), names(maxMCIms))
    # TRUE
    getCTS(maxMCI, maxMCIms)
    # "Length: 3"
    # "B853" "D826" "A406"

[Package BioTIP version 1.0.0 Index]