RankProduct {RNAither} | R Documentation

## Perform a Rank Product test

### Description

Performs the non-parametric rank product test on the intensity data.

### Usage

    RankProduct(dataset, listofargs)

### Arguments

`dataset` | an R data frame generated with `generateDatasetFile`
`listofargs` | a list containing: - the number of permutations to perform to compute the p-values (usually 100) - 1 or 2, depending if the search is for a significant decrease or increase - a character string specifying the column whose values will be used for the test - a character string specifying the name of the dataset column to be used to define the replicate, for example `"GeneName"` or `"Internal_GeneID"`

### Value

Returns a list containing

`pValVec` | a named vector of p-values
`dataset` | the dataset with an added column `"p.value.rankproduct"`
`paste("pValue.rankproduct", testType, sep="_")` | the character string `"p.value.rankproduct"`
`"Rank product test"` | the character string "Rank product test"

The p values returned are equivalent to the percentage of false prediction (pfp), which in theory is the equivalent of false discovery rate (FDR). It is possible that they are larger than 1.

### See Also

`Ttest`, `MannWhitney`

### Examples

    data(exampleHeader, package="RNAither")
    data(exampleDataset, package="RNAither")

    pvals1 <- RankProduct(dataset, list(100, 1, "SigIntensity", "GeneName"))
    pValVec1 <- pvals1[[1]]
    scoredDataset1 <- pvals1[[2]]

[Package RNAither version 2.30.1 Index]