calcCaS-methods | R Documentation |
Calculate the correlation across samples. Filtering correlation with specific parameters and returns a correlation matrix.
calcCaS(object,corval=0.75, pval=0.05, intval="into")
object |
The |
corval |
Correlation threshold for positive hits |
pval |
P-Value threshold for significance level of correlation |
intval |
Selection of the intensity values that should be used in the correlation analysis. Can be into, maxo or intb. |
Calculate pearson correlation between the peak intensites over all samples. Afterwards use cor.test for returning only significant correlation. Returns only those correlation, which are above both threshold. Set corval and pval to 0 to get the unfiltered correlation matrix. If the object is pregrouped with groupFWHM, then the correlation is only calculated between peaks within a pseudospectrum. Otherwise between all peaks.
A matrix with 4 columns:
x |
peak index according to peaktable |
y |
peak index according to peaktable |
cor |
correlation value between peak x and peak y |
ps |
pseudospektrum index for both peaks |
Carsten Kuhl <ckuhl@ipb-halle.de>
calcCiS
groupCorr
xsAnnotate-class
library(CAMERA)
#Multiple sample
library(faahKO)
xs.grp <- group(faahko)
#create xsAnnotate object
xsa <- xsAnnotate(xs.grp)
#generate pseudospectra
xsa.group <- groupFWHM(xsa)
#calculate correlation
correlationMatrix <- calcCaS(xsa.group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.