append_genes | R Documentation |
Given a reference matrix and a list of genes, take the union of all genes in vector and genes in reference matrix and insert zero counts for all remaining genes.
append_genes(gene_vector, ref_matrix)
gene_vector |
char vector with gene names |
ref_matrix |
Reference matrix containing cell types vs. gene expression values |
Reference matrix with union of all genes
mat <- append_genes( gene_vector = human_genes_10x, ref_matrix = cbmc_ref )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.