selectiveAgainst: Identify small molecules with selective binding against a...

Description Usage Arguments Value Author(s) Examples

View source: R/queries.R

Description

Allows the user to find compounds in the database that have been screened against a large number of distinct targets, but show high binding selectivity for a specific target of interest.

Usage

1
selectiveAgainst(database, target, maxCompounds = 10, minimumTargets = 10)

Arguments

database

A BioassayDB database to query.

target

A string or integer containing a target_id referring to a target of interest.

maxCompounds

An integer representing the number of resulting compounds to return.

minimumTargets

An integer representing the minimum number of distinct targets a compound must have been screened against to be included in the results.

Value

A data.frame where the row names represent each compound showing binding specificity against the specified target. The first column shows the number of distinct targets each compound shows activity against, and the second column shows the total number of distinct targets it has been screened against.

Author(s)

Tyler Backman

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## connect to a test database
extdata_dir <- system.file("extdata", package="bioassayR")
sampleDatabasePath <- file.path(extdata_dir, "sampleDatabase.sqlite")
sampleDB <- connectBioassayDB(sampleDatabasePath)

## find target selective compounds active against a protein of interest
selectiveAgainst(sampleDB, target="166897622", maxCompounds=10,minimumTargets=20)

## disconnect from database
disconnectBioassayDB(sampleDB)

bioassayR documentation built on March 1, 2021, 2 a.m.