checkTSetStructure: A function to verify the structure of a ToxicoSet

View source: R/ToxicoSet-class.R

checkTSetStructureR Documentation

A function to verify the structure of a ToxicoSet

Description

This function checks the structure of a ToxicoSet, ensuring that the correct annotations are in place and all the required slots are filled so that matching of cells and drugs can be properly done across different types of data and with other studies.

Usage

checkTSetStructure(tSet, plotDist = FALSE, result.dir = ".")

Arguments

tSet

A ToxicoSet object

plotDist

Should the function also plot the distribution of molecular data?

result.dir

The path to the directory for saving the plots as a string, defaults to tempdir()

Value

Prints out messages whenever describing the errors found in the structure of the pset object passed in.

Examples

checkTSetStructure(TGGATESsmall)


bhklab/ToxicoGx documentation built on March 18, 2023, 6:44 a.m.