bioassaySet-class: Class '"bioassaySet"'

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

This class stores a large number of bioactivity scores from multiple assays and experiments as a single sparse matrix.

Objects from the Class

Objects can be created with several functions including getAssays and getBioassaySetByCids.

Slots

activity:

Object of class "dgCMatrix" a sparse matrix of assays (rows) vs compounds (columns) where 0 represents untested, NA represents inconclusive, 1 represents inactive, and 2 represents activity

scores:

Object of class "dgCMatrix" numeric activity scores with the same dimensions as activity

targets:

Object of class "dgCMatrix" a binary matrix of the targets (columns) for each aid (rows) listed in the activity and scores matrix. A 1 represents a target for the given assay, and a 0 represents that the given target was not used in the assay.

sources:

Object of class "data.frame" data sources for each assay. There must be three columns titled 'source_id', 'description', and 'version.' Each row represents a data source for these data. The 'source_id' must be a numeric (integer) index that matches to those in the 'source_id' slot.

source_id:

Object of class "integer" the source_id for each assay as an integer. The length should equal the number of rows in the activity matrix, with element names for each assay id (aid).

assay_type:

Object of class "character" the experiment type for each assay. The length should equal the number of rows in the activity matrix, with element names for each assay id (aid).

organism:

Object of class "character" scientific name of each target species. The length should equal the number of rows in the activity matrix, with element names for each assay id (aid).

scoring:

Object of class "character" scoring method used in the scores matrix. The length should equal the number of rows in the activity matrix, with element names for each assay id (aid).

target_types:

Object of class "character" type of target for each target id, where the names and order match the columns in the target matrix. The length should equal the number of rows in the activity matrix, with element names for each assay id (aid).

Methods

activity

signature(x = "bioassaySet"): ...

activity<-

signature(x = "bioassaySet"): ...

scores

signature(x = "bioassaySet"): ...

scores<-

signature(x = "bioassaySet"): ...

targets

signature(object = "bioassaySet"): ...

targets<-

signature(object = "bioassaySet"): ...

sources

signature(x = "bioassaySet"): ...

sources<-

signature(x = "bioassaySet"): ...

source_id

signature(x = "bioassaySet"): ...

source_id<-

signature(x = "bioassaySet"): ...

assay_type

signature(object = "bioassaySet"): ...

assay_type<-

signature(x = "bioassaySet"): ...

organism

signature(x = "bioassaySet"): ...

organism<-

signature(x = "bioassaySet"): ...

scoring

signature(x = "bioassaySet"): ...

scoring<-

signature(x = "bioassaySet"): ...

target_types

signature(x = "bioassaySet"): ...

target_types<-

signature(x = "bioassaySet"): ...

Author(s)

Tyler William H Backman

See Also

Related classes: bioassay, bioAssayDB.

Examples

1
showClass("bioassaySet")

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