Learn R Programming

PerseusR (version 0.3.4)

MatrixDataCheck: MatrixDataCheck: a function to check the validity of an object as a perseus data frame

Description

Check perseus compatibility of an object

Usage

MatrixDataCheck(object, ...)

# S3 method for default MatrixDataCheck(object = NULL, main, annotationRows, annotationCols, descriptions, imputeData, qualityData, all_colnames, ...)

# S3 method for matrixData MatrixDataCheck(object, ...)

# S3 method for list MatrixDataCheck(object, ...)

# S3 method for ExpressionSet MatrixDataCheck(object, ...)

Arguments

object

object to check consistency with perseus data frames

...

additional arguments passed to the respective method

main

Main Data frame

annotationRows

Rows containing annotation information

annotationCols

Columns containing annotation information

descriptions

Descriptions of all the columns

imputeData

Is imputed or not

qualityData

quality number

all_colnames

The colnames to be used

Value

a logical indicating the validity of the object (or series of objects) as a perseus DF or the string of errors

NULL

NULL

NULL

Examples

Run this code
# NOT RUN {
require(PerseusR)

mat <- matrixData(
    main=data.frame(a=1:3, b=6:8),
    annotCols=data.frame(c=c('a','b','c')),
    annotRows=data.frame(x=factor(c('1','1'))))

MatrixDataCheck(mat)

# }

Run the code above in your browser using DataLab