Learn R Programming

wrMisc (version 1.15.3.1)

.allRatios: Search character-string and cut either before or after

Description

This function extracts/cuts text-fragments out of txt following specific anchors defined by arguments cutFrom and cutTo.

Usage

.allRatios(dat, ty = "log2", colNaSep = "_")

Value

This function returns a numeric vector

Arguments

dat

(matrix or data.frame) main input

ty

(character) type of ratio (eg 'log2')

colNaSep

(character) separator

See Also

makeMAList, grep

Examples

Run this code
.allRatios(matrix(11:14, ncol=2))

Run the code above in your browser using DataLab