This function relies on the `biomaRt`` package.

mouse_genes_to_human(gene_expression_matrix, mirror = "www")

Arguments

gene_expression_matrix

a m x n matrix with m genes and n samples. Gene symbols must be the rownames of the matrix.

mirror

the ensembl mirror to use. Possible choices are 'www' (default), 'uswest', 'useast', 'asia'

Value

the same matrix, with the counts for the corresponding human genes. This matrix can directly be used with the immunedeconv methods. A message will display the ratio of original genes which were converted.