pcitC | R Documentation |
Calculates the correlation matrix using PCIT algorithm
pcitC(cor, tolType)
cor |
A correlation matrix. |
tolType |
Type of tolerance (default: 'mean') given the 3 pairwise correlations
(see |
Correlation matrix resulted from PCIT algorithm.
(see PCIT
)
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.