tools.DEG.Microarrays: Compute the pvalues of genes being up- and down-regulated for...

Description Usage Arguments Value Examples

View source: R/DEG.R

Description

Through different functions contained in several packages, this function computes pvalues of differentially expressed genes

Usage

1
tools.DEG.Microarrays(data, tool, n1, n2)

Arguments

data

Dataframe of gene expression levels with sample names in columns and genes in rows

tool

Different methods used to compute pvalues of differentially expressed genes for microarrays "Wilcox" uses the wilcoxDEG() function implemented in this very same pacakge "limma" and "GEOlimma uses respectively the functions DEG_limma() and DEG_GEOlimma() that comes from the limma pacakge "RankProduct","RankProduct.log" perform a Rank Product analysis with the RankProducts() function from the RankProd package for normal and logged values respectively "RankSum","RankSum.log" perform a Rank Sum analysis with the RankProducts() function from the RankProd package for normal and logged values respectively

n1

Number of samples for the first experimental condition

n2

Number of samples for the second experimental condition

Value

A dataframe with genes in rows and pvalues of a gene being upregulated and downregulated in columns

Examples

1
2
3
4
5
6
7
8
9
# Import the dataset
Data = matrix(runif(5000, 10, 100), ncol=20)
group = paste0(rep(c("control", "case"), each = 10),rep(c(1:10),each = 1))
genes <- paste0(rep(LETTERS[1:25], each=10), rep(c(1:10),each = 1))
colnames(Data) = group
row.names(Data) = genes 

# Compute Pvalues for the RankProduct method
res.DEG = tools.DEG.Microarrays(Data,"RankProduct",10,10)

jtcasemajor/GENEXPRESSO documentation built on Dec. 21, 2021, 4:11 a.m.