normalize_correlation | R Documentation |
Main function to remove mean-correlation relationship between miRNA and mRNA
normalize_correlation(
cor_mat,
ave_exp1,
ave_exp2,
ngrp = 20,
size_grp = c(1000, 150),
ref_grp = 18
)
cor_mat |
A correlation matrix for a group with mRNA on the rows and miRNA on the columns |
ave_exp1 |
A numeric vecotr with same length as the nrow(cor_mat) for average mRNA expressions |
ave_exp2 |
A numeric vecotr with same length as the ncol(cor_mat) for average miRNA expressions |
ngrp |
An integer for number of inner bins. Default is 20 |
size_grp |
A numeric vector of length 2 for number of mRNA and miRNA per outer group. Default c(1000, 150) |
ref_grp |
An integer for the index of bin to use as reference. Default is 18 |
A normalized correlation matrix with the same dimension as cor_mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.