MatrixDataCheck: MatrixDataCheck: a function to check the validity of an...

Description Usage Arguments Value Examples

Description

Check perseus compatibility of an object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
MatrixDataCheck(object, ...)

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

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

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

## S3 method for class '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

1
2
3
4
5
6
7
8
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)

PerseusR documentation built on May 2, 2019, 6:52 a.m.