inactiveTargets {bioassayR} | R Documentation

## Takes a single cid and returns a table of the proteins it has been found inactive against.

### Description

Returns a `data.frame` of all targets a single cid (compound) has been found inactive against, and the number of times it has been found inactive in distinct assay experiments. If a compound has been found both active and inactive in different assays, it will be listed among these results.

### Usage

    inactiveTargets(database, cid)

### Arguments

`database` | A `BioassayDB` database to query.
`cid` | A string or integer containing a cid referring to a small molecule.

### Value

A `data.frame` where the row names represent each target the specified compound shows inactivity against, and the column shows the number of assays in which it was found to be inactive.

### Author(s)

Tyler Backman

### See Also

`activeTargets`

### Examples

    ## connect to a test database
    extdata_dir <- system.file("extdata", package="bioassayR")
    sampleDatabasePath <- file.path(extdata_dir, "sampleDatabase.sqlite")
    sampleDB <- connectBioassayDB(sampleDatabasePath)

    ## get targets that compound 2244 shows inactivity against
    myCidInactiveTargets <- row.names(inactiveTargets(sampleDB, "2244"))

    ## disconnect from database
    disconnectBioassayDB(sampleDB)

[Package bioassayR version 1.32.1 Index]