View source: R/function_estimateCNN.R
estimate_nn_c | R Documentation |
Given a reference matrix X, a matrix of bulks Y and a g-vector, "estimate_nn_c" finds the solution of
arg min || diag(g) (Y - XC) ||_2
with non negative constraint over C, using the package 'nnls' (non-negative least squares)
estimate_nn_c(X.matrix = NA, new.data, Gamma)
X.matrix |
numeric matrix, with features/genes as rows, and cell types as column. Each column of X.matrix is a reference expression profile |
new.data |
numeric matrix with samples as columns, and features/genes as rows. In the formula above denoated as Y. |
Gamma |
numeric matrix, with nrow(X) x nrow(X) |
numeric matrix with ncol(X) rows, and ncol(Y) columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.