cor.BLAS | R Documentation |
Correlation calculation. use BLAS and data.table to speed up.
cor.BLAS(x, y = NULL, method = "pearson", nthreads = NULL, na.rm = T)
x |
matrix; input data, rows for variable (genes), columns for observations (cells). |
y |
matrix; input data, rows for variable (genes), columns for observations (cells) (default: NULL) |
method |
character; method used. (default: "pearson") |
nthreads |
integer; number of threads to use. if NULL, automatically detect the number. (default: NULL) |
na.rm |
logical; remove missing values. (default: T) |
calcualte the correlation among variables(rows)
correlation coefficient matrix among rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.