RankingWelchT: Ranking based on the Welch t statistic.

Description Usage Arguments Value Author(s) See Also Examples

Description

Performs univariate (rowwise) Welch tests on a gene expression matrix. The Welch t statistic is a better alternative to the 'ordinary' t statistic in the two sample, unequal variances setting.

Usage

1
RankingWelchT(x, y, type = "unpaired", pvalues = TRUE, gene.names = NULL, ...)

Arguments

x

A matrix of gene expression values with rows corresponding to genes and columns corresponding to observations or alternatively an object of class ExpressionSet.

y

If x is a matrix, then y may be a numeric vector or a factor with at most two levels.
If x is an ExpressionSet, then y is a character specifying the phenotype variable in the output from pData.

type

Only the two sample case, type="unpaired" is possible. Otherwise, use RankingTstat. Variances are assumed to be unequal.

pvalues

Should p-values be computed ? Default is TRUE.

gene.names

An optional vector of gene names.

...

Currenly unused argument.

Value

An object of class GeneRanking.

Author(s)

Martin Slawski
Anne-Laure Boulesteix

See Also

RepeatRanking, RankingTstat, RankingFC, RankingWilcoxon, RankingBaldiLong, RankingFoxDimmic, RankingLimma, RankingEbam, RankingWilcEbam, RankingSam, RankingShrinkageT, RankingSoftthresholdT, RankingPermutation

Examples

1
2
3
4
5
6
7
8
## Load toy gene expression data
data(toydata)
### class labels
yy <- toydata[1,]
### gene expression
xx <- toydata[-1,]
### run RankingWelch
welchT <- RankingWelchT(xx, yy, type="unpaired")

Example output

Loading required package: Biobase
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, cbind, colMeans, colSums, colnames, 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

Welcome to Bioconductor

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

GeneSelector documentation built on May 1, 2019, 11:35 p.m.