cn_sampR_to_pattern | R Documentation |
Return a pattern for use in cn_testPattern (template matching). Convert the cell population to matrix of 0 and 1, where the rows are the unique cell populations and the columns are the population of each cell. Thus, the cell values indicates the population of a cell.
cn_sampR_to_pattern(sampR)
sampR |
character vector; vector of cell populations. |
dgCMatrix matrix; ans_sparse_matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.