Description Usage Arguments Value Author(s) References Examples
This function detects condition specifcally expressed genes which are highly expressed in only one condition (e.g., stress), but are not or lowly expressed in the other conditions.
1 | ConditionSpecificGenes( expmat, logtransformed = TRUE, base = 2, threshold = 0.75 )
|
expmat |
a numeric matrix recording the expression level of genes at different conditions. The column labels are samples names. For two samples from the same condition C, their names should be assigned as C.1 and C.2, respectively. |
logtransformed |
logical indicating whether the gene expression values in expmat have been log-transformed. |
base |
a numeric value indicating the base of logarithm. |
threshold |
a numeric value giving the threshold of condition specificity score. The condition specificity score is 1, if the gene is only expressed at one condition. Otherwise, the condition specificity socre will be smaller than 1. |
A list with following components:
CSGenes |
a character vector containing the condition specially expressed genes. |
CSScoreMat |
a data matrix recording the condition-specificity scores for all condtions, the maximal condition-specificity score and its corresponding condition" |
uniqueCS |
a data matrix containing the condition informaiton obtained from the colnames(expmat). |
Chuang Ma, Xiangfeng Wang
[1] Chuang Ma, Xiangfeng Wang. Machine learning-based differential network analysis: a study of stress-responsive transcriptomes in Arabidopsis thaliana. 2013(Submitted).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
##show colnames of SaltExpMat
colnames(SaltExpMat)
##as the dot is used to indicate the replications in one condition, we
##have to change the colname of genes at the 0.5 time point.
colnames(SaltExpMat)[1] <- "Salt_0_5h"
##get condition specifically expressed genes
res <- ConditionSpecificGenes( expmat = SaltExpMat, logtransformed = TRUE,
base = 2, threshold = 0.75 )
##number of condition specifically expressed genes
length(res$CSGenes)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.