selectModelIds {Xeva} | R Documentation

## To select model IDs based on drug name and/or tissue type.

### Description

To select model IDs based on drug name and/or tissue type.

### Usage

    selectModelIds(object, drug = NULL, drug.match.exact = TRUE,
      tissue = NULL)

    ## S4 method for signature 'XevaSet'
    selectModelIds(object, drug = NULL,
      drug.match.exact = TRUE, tissue = NULL)

### Arguments

`object` | The `XevaSet`.
`drug` | Name of the `drug`.
`drug.match.exact` | Default `TRUE`.
`tissue` | Tumor type. Default `NULL`.

### Value

A `vector` with the matched `model.id`s.

### Examples

    data(brca)
    df = selectModelIds(brca, drug="trastuzumab", drug.match.exact=TRUE, tissue="BRCA")
    head(df)
    df2 = selectModelIds(brca, drug="trastuzumab", drug.match.exact=FALSE)
    head(df2)

[Package Xeva version 1.10.0 Index]