combs_with: Show combinations with given markers.

View source: R/combs_with.R

combs_withR Documentation

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)

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()).

Value

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

Examples

## Not run: 
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)

## End(Not run)

combiroc documentation built on July 9, 2023, 5:56 p.m.