checkRSetStructure: A function to verify the structure of a RadioSet

View source: R/RadioSet-class.R

checkRSetStructureR Documentation

A function to verify the structure of a RadioSet

Description

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

Usage

checkRSetStructure(object, plotDist = FALSE, result.dir = tempdir())

Arguments

object

A RadioSet 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

checkRSetStructure(clevelandSmall)


bhklab/RadioGx documentation built on Oct. 6, 2023, 8:27 a.m.