% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathway_enrichment.R
\name{convert_gene_ids}
\alias{convert_gene_ids}
\title{Convert gene identifiers in a DEG table}
\usage{
convert_gene_ids(
  df,
  fromType,
  toType = "SYMBOL",
  org_db = NULL,
  gene_col = "Gene_Symbols",
  remove_na = TRUE,
  remove_duplicates = TRUE
)
}
\arguments{
\item{df}{Data frame containing a gene column}

\item{fromType}{Original ID type (e.g. "UNIPROT", "ENSEMBL")}

\item{toType}{Target ID type (e.g. "SYMBOL", "ENTREZID")}

\item{org_db}{OrgDb object (default: org.Hs.eg.db)}

\item{gene_col}{Column name containing gene IDs (default: "Gene_Symbols")}

\item{remove_na}{Remove unmapped genes (default: TRUE)}

\item{remove_duplicates}{Remove duplicated mapped IDs (default: TRUE)}
}
\value{
Updated data frame with converted gene IDs
}
\description{
Convert gene identifiers in a DEG table
}
