View source: R/postProcessing.R
| import_weights | R Documentation |
RCTD objectAssigns a cell type 'weights' matrix to an RCTD object
import_weights(myRCTD, weights)
myRCTD |
a |
weights |
a matrix of weights (pixels by cell types). weights must be normalized to have rows sum to 1. Furthermore, rownames and colnames must be assigned as pixel names and cell types respectively. |
the RCTD object with weights assigned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.