Description Usage Arguments Value See Also Examples
Calculates the correlation matrix using PCIT algorithm
1 |
cor |
A correlation matrix. |
tolType |
Type of tolerance (default: 'mean') given the 3 pairwise correlations
(see |
Correlation matrix resulted from PCIT algorithm.
(see PCIT
)
1 2 3 4 5 6 7 8 9 10 11 12 | library(Matrix)
# loading a simulated normalized data
data('simNorm')
# calculating the correlation matrix
suppressWarnings(gene_corr <- cor(t(simNorm[1:30, ])))
gene_corr[is.na(gene_corr)] <- 0
# getting the PCIT correlation results for first 30 genes
results <- pcitC(cor = Matrix(gene_corr, sparse = TRUE),
tolType = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.