| densityPlot | R Documentation | 
Generate the density plot for adjacency matrices. This
function uses the raw adjacency matrix and significant adjacency
matrix resulted from PCIT function.
densityPlot(mat1, mat2, threshold = 0.5)
| mat1 | Raw adjacency matrix. | 
| mat2 | Significant adjacency matrix. | 
| threshold | Threshold of correlation module to plot (default: 0.5). | 
Returns an density plot of raw correlation with significant PCIT values.
# loading a simulated normalized data
data('simNorm')
# getting the PCIT results
results <- PCIT(simNorm[1:20, ])
# using the PCIT results to get density distribution of correlation coefficients
densityPlot(mat1 = results$adj_raw,
            mat2 = results$adj_sig,
            threshold = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.