Description Usage Arguments Value Examples
make input format for sctransfer map from matrix file
1 2 | make_input(input_var, min_thr = 0.1, max_thr = 0.9, pseudo_cnt = 1,
train = FALSE, gene_usage = FALSE)
|
input_var |
matrix class composed of gene/peak_location(row)-by-cell(column) |
min_thr |
minimum threshold of expressing cell ratio for a given gene/peak_location |
max_thr |
maximum threshold of expressing cell ratio for a given gene/peak_location |
pseudo_cnt |
pseudo count for count matrix for log-transformation |
train |
TRUE if it is data for training
|
gene_usage |
option for gene/peak_location filtering to make hadamard matrix
|
return a list variable composed of 4 objects
norm_matrix: expression or peak matrix (row: gene/peak_location, col: cell)
rowname: gene or peak location
cellname: cell annotation
celltype: celltype == sort(unique(cellname))
1 2 | data1 <- make_input(input_var) [query case]
data1 <- make_input(input_var, train = TRUE) [training case]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.