getCTS: Obtain the identified BioTiP and its length

Description Usage Arguments Value Author(s) Examples

View source: R/BioTIP_update_4_09282020_v3.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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"

BioTIP documentation built on Nov. 8, 2020, 6:27 p.m.