Description Usage Arguments Value Author(s) Examples
prioritise
returns a set of genes from a candidate set of genes that are
correlated above a provided threshold with at least one of the provided reference
genes.
1 | prioritise(X, ref_index, cand_index, anno, Factor, Weights, threshold)
|
X |
A matrix of gene expression values. |
ref_index |
A vector of indices of reference genes. |
cand_index |
A vector of indices of candidate genes. |
anno |
A dataframe or a matrix containing the annotation of arrays in |
Factor |
A character string corresponding to a column name of |
Weights |
An object of class |
threshold |
A value in the range [0,1]. |
prioritise
returns a matrix with three columns. The first column gives
the names of the genes that were prioiritised, while the second column gives the
number of correlations above the threshold for the gene in question. The
columns gives the sum of the absolute value of all correlations with reference genes
above the threshold.
Saskia Freytag
1 2 3 4 5 6 | Y<-simulateGEdata(500, 500, 10, 2, 5, g=NULL, Sigma.eps=0.1, 250, 100, check.input=TRUE)
colnames(Y$Y)<-1:dim(Y$Y)[2]
anno<-as.matrix(sample(1:5, dim(Y$Y)[1], replace=TRUE))
colnames(anno)<-"Factor"
weights<-findWeights(Y$Y, anno, "Factor")
prioritise(Y$Y, 1:10, 51:150, anno, "Factor", weights, 0.6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.