50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


ORdensity (version 1.0)

findDEgenes: Clustering of the potential differentially expressed (DE) genes

Description

This function clusters the potential differentially expressed (DE) genes among them so that the real DE genes can be distinguished from the not DE genes.

Usage

findDEgenes(object, numclusters = NULL)

# S4 method for ORdensity findDEgenes(object, numclusters = NULL)

Arguments

object

An object of ORdensity class.

numclusters

By default NULL, it inherits from the object parameter. Optionally, an integer number indicating number of clusters.

Value

A list composed by \(k\) lists where \(k\) is the best number of clusters found. The clusters are ordered based on their importance according to the mean OR values of the clusters (the greater the mean OR value of the cluster the more important are the genes in the cluster). The first one is the most important, the last one the less important. Each list has elements:

  • numberOfGenes: Number of genes in the cluster.

  • CharacteristicsCluster: Matrix with mean values and standard deviation of variables OR, FP and dFP for each cluster.

  • Genes: Identification of the genes in the cluster.

Examples

Run this code
# NOT RUN {
# Read data from 2 experimental conditions
simexpr_reduced <- simexpr[c(1:15,101:235),]
x <- simexpr_reduced[, 3:32]
y <- simexpr_reduced[, 33:62]
EXC.1 <- as.matrix(x)
EXC.2 <- as.matrix(y)
myORdensity <- new("ORdensity", Exp_cond_1 = EXC.1, Exp_cond_2 = EXC.2, B = 20)
out <- findDEgenes(myORdensity)
# For instance, characteristics of cluster1, likely composed of true DE genes 
out[[1]]
# It is also possible to choose the number of clusters
out <- findDEgenes(myORdensity, 5)
# }

Run the code above in your browser using DataLab