Learn R Programming

omicade4 (version 1.12.0)

topVar: Selecting top weighted variables (genes) from result of MCIA or CIA

Description

The user level function calls topVar.mcia or topVar.cia. This function provides a method selecting top weighted variables (genes) on an axis (either positive side or negative side or both).

Usage

topVar(x, axis = 1, end = "both", topN = 5)

Arguments

x
an object of class mcia or cia
axis
an interger to sepecify which axis to check
end
which end of the axis to check, could be positive, negative or both. Any unambiguous substring can be given.
topN
An integer. The number of top weighted variable to return.

Value

Returns a data.frame contains selected variables.

Examples

Run this code
	data(NCI60_4arrays)
	mcoin <- mcia(NCI60_4arrays)
	topVar(mcoin, axis = 1, end = "both", topN = 3)

Run the code above in your browser using DataLab