Learn R Programming

combiroc (version 0.3.4)

combs_with: Show combinations with given markers.

Description

A function to find all the combinations containing all the markers of interest.

Usage

combs_with(markers, markers_table)

Value

a numeric vector containing the numbers corresponding to the combinations containing all the selected markers.

Arguments

markers

a character vector containing one or more markers of interest.

markers_table

a data.frame with ranked combination, reporting: SE, SP, number of markers composing the combination and the score (returned by ranked_combs()).

Examples

Run this code
if (FALSE) {
demo_data # combiroc built-in demo data (proteomics data from Zingaretti et al. 2012 - PMC3518104)

combs <- combi(data= demo_data, signalthr=450, combithr=1, case_class='A')  # compute combinations

# To show all the combinations with given markers.

combs_with(markers = c('Marker1', 'Marker2') , markers_table = combs)
}

Run the code above in your browser using DataLab