Learn R Programming

OryzaProbe (version 0.1.0)

probeConvert: probeConvert

Description

Convert rice microarray probe ID to RAP-DB ID and merge multiple probes for one gene

Usage

probeConvert(exprMatrix, probeMerge = FALSE, mergeBy = "mean")

Value

A matrix.

Arguments

exprMatrix

A expression matrix is required. Row names of the matrix should be the microarray probe ID.

probeMerge

A instruction is needed. If probeMerge = F, the multiple probes for one gene will not be merged. If probeMerge = T, the multiple probes for one gene will be merged. The default value is F.

mergeBy

A method for merging multiple probes for one gene if probeMerge = T. Mean, max and min value is available.

Examples

Run this code
# \donttest{
expr <- system.file("test_file", header = TRUE, sep="\t", header=TRUE, stringsAsFactors = FALSE)
formatted_expr <- probeConvert(exprMatrix = expr)
formatted_expr1 <- probeConvert(exprMatrix = expr, probeMerge = TRUE)
# }

Run the code above in your browser using DataLab