% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mouse2human_eset.R
\name{mouse2human_eset}
\alias{mouse2human_eset}
\title{Convert Mouse Gene Symbols to Human Gene Symbols}
\usage{
mouse2human_eset(
  eset,
  source = c("local", "ensembl"),
  is_matrix = TRUE,
  column_of_symbol = NULL,
  verbose = FALSE
)
}
\arguments{
\item{eset}{Matrix or data frame. Expression matrix with genes in rows.}

\item{source}{Character. Data source for conversion: "ensembl" (online) or
"local". Default is "ensembl". If Ensembl fails, use "local" which uses
the internal `mus_human_gene_symbol` dataset.}

\item{is_matrix}{Logical. Whether `eset` is a matrix with gene symbols as
row names. Default is `TRUE`. If `FALSE`, `column_of_symbol` must be
specified.}

\item{column_of_symbol}{Character or `NULL`. Column name containing gene
symbols if `eset` is not a matrix. Default is `NULL`.}

\item{verbose}{Logical. If `TRUE`, prints available Ensembl datasets.
Default is `FALSE`.}
}
\value{
Expression set with human gene symbols.
}
\description{
Converts mouse gene symbols to human gene symbols in an expression dataset.
Supports using either an online resource (Ensembl) or a local dataset for
conversion.
}
\examples{
\dontrun{
set.seed(123)
data <- matrix(runif(50 * 3), nrow = 50, ncol = 3)
rownames(data) <- c("Tpt1", "Hmgb1", "Gapdh", paste0("Gene", 4:50))
colnames(data) <- paste0("Sample", 1:3)
human_data <- mouse2human_eset(data, source = "local", is_matrix = TRUE)
if (!is.null(human_data)) head(human_data)
}
}
\author{
Dongqiang Zeng
}
