getGeneRanks: Calculate GeneRanks as used by RRFE

Description Usage Arguments Value Author(s) References Examples

View source: R/RRFE.R

Description

Uses the GeneRank to calculate the ranks for genes. Afterwards the ranks are transformed as needed for the RRFE algorithm.

Usage

1
2
  getGeneRanks(x, y, mapping, Gsub, method = "foldChange",
    d = 0.5)

Arguments

x

a p x n matrix of expression measurements with p samples and n genes.

y

a factor of length p comprising the class labels.

mapping

a mapping that defines how probe sets are summarized to genes.

Gsub

an adjacency matrix that represents the underlying biological network.

method

see help of summarizeProbes

d

the damping factor which controls the influence of the network data and the fold change on the ranking of the genes. Defaults to 0.5

Value

a ranking of the genes for which pathway knowledge was available.

Author(s)

Marc Johannes JohannesMarc@gmail.com

References

Johannes M, et al. (2010). Integration Of Pathway Knowledge Into A Reweighted Recursive Feature Elimination Approach For Risk Stratification Of Cancer Patients. Bioinformatics

Examples

1
2
3
4
5
6
## Not run: 
library(pathClass)
data(example_data)
ranks = getGeneRanks(x, y, mapping=mapping, Gsub=adjacency.matrix)

## End(Not run)

Example output

Loading required package: svmpath
Loaded svmpath 0.955

Loading required package: kernlab
Loading required package: affy
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: ROCR
Loading required package: gplots

Attaching package: 'gplots'

The following object is masked from 'package:stats':

    lowess

Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:BiocGenerics':

    normalize, path, union

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

Loading required package: lpSolve
Warning message:
In read.dcf(con) :
  URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't connect to server'

pathClass documentation built on May 29, 2017, 11:44 p.m.