Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/fct_SpeCond_2.R
firPrior
performs a clustering of expression values for each gene profile using the mclust function. This results to a mixture of normal distribution components (from 1 to 3 components) fitting the expression values.
1 2 |
expressionMatrix |
the expression value matrix, genes*conditions |
param.detection |
the matrix of parameters as obtained by |
lambda |
positive value, it influences the choice of models by affecting the selection of one, two or three normal distributions, thus introducing some weight on the effect of number of parameters to be defined. The default is 1, the model uses the BIC value taking into account the log-likelihood value |
beta |
positive value, it influences the prior applied during the determination of the variance of the normal distributions. It is important for this fitting since it allows the model to capture isolated outliers. The default value is 6 |
evaluation.lambda.beta |
if TRUE, an extra attribute will be return indicating for how many gene the lambda and beta parameters change the number of normal component chosen to fit the expression values |
If evaluation.lambda.beta
is TRUE an additional attribute G.lambda.beta.effect
is returned. It is a matrix presenting the number of time the values of G (number of normal components for a particular gene) has changed between lambda
=0 and the lambda.1
value and between beta
=0 and the beta.1
value.
fit1 |
list of the gene as first attributes, for each gene a list of three attributes: |
G |
number of normal components fitting the data |
NorMixParam |
the parameters of each normal component: proportion, mean and standard deviation for the gene |
classification |
the normal component id in which the expression values of the gene are attributed |
Florence Cavalli, florence@ebi.ac.uk
fitNoPriorWithExclusion
, SpeCond
1 2 3 4 5 6 7 8 9 10 | library(SpeCond)
data(expressionSpeCondExample)
##Perform the SpeCond analysis step by step
param.detection=getDefaultParameter()
param.detection
fit1=fitPrior(expressionSpeCondExample, param.detection=param.detection)
##then use getSpecificOutliersStep1(), fitNoPriorWithExclusion() and
## getSpecificResult()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.