convertMASTClassicToSingleCellAssay: Convert a MASTClassic SingleCellAssay

Description Usage Arguments Details Value Note Examples

View source: R/convertMASTClassic.R

Description

Convert a SingleCellAssay object created with the MASTClassic package to an object recognized by the new MAST package

Usage

1

Arguments

object

of class SingleCellAssay created by MASTClassic

Details

The function will extract the relevant information from the attributes of the old object and construct a new SingleCellAssay that is recognized by MAST. This function checks that the object is a MASTClassic SingleCellAssay object. It will stop if it is not a SingleCellAssay, return a converted SingleCellAssay if object was created by MASTClassic, and return the original object if the object is already compatible.

Value

A MAST SingleCellAssay object.

Note

Type checking for old object is not performed.

Examples

1
2

MAST documentation built on Nov. 8, 2020, 8:19 p.m.