cosin_dis_diffMatrix | R Documentation |
To calculate the cosine simularity between any row between two matrices with parallel calculation strategy.
cosin_dis_diffMatrix(matrix1, matrix2, cpu_num)
matrix1 |
A matrix. Taking gene expression profile as example, the column is sample and the row is gene. |
matrix2 |
A matrix. Taking gene expression profile as example, the column is sample and the row is gene. |
cpu_num |
The cpu number for parallel computation. |
A matrix to show the cosin similarity between any points between two matrices.
Bin Duan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.