checkTargetInfo: Verifying the order between intensities matrix and target...

Description Usage Arguments Value Author(s) Examples

View source: R/maInput.R

Description

Check that the foreground and backgruond intensities are stored in the same order as provided in the first column of target file.

Usage

1

Arguments

mraw

Object of class marrayRaw or marryNorm.

Value

A logical value. This function returns "TRUE" if the first column from the Target information is the same order as the foreground and backgruond intensities.

Author(s)

Yee Hwa (Jean) Yang

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
datadir <- system.file("swirldata", package="marray")
swirl.targets <- read.marrayInfo(file.path(datadir, "SwirlSample.txt"))
data(swirl)
swirl@maTargets <- swirl.targets

checkTargetInfo(swirl)

checkTargetInfo(swirl[, 2:4])

## reorder
swirl@maTargets <- swirl.targets[c(2:4, 1),]
checkTargetInfo(swirl)

Example output

Loading required package: limma
[1] TRUE
[1] TRUE
[1] FALSE

marray documentation built on Nov. 8, 2020, 6:46 p.m.