-
Notifications
You must be signed in to change notification settings - Fork 22
pyNBS.gene_conversion_tools.convert_custom_namelist
Tongqiu (Iris) Jia edited this page Feb 2, 2018
·
1 revision
This function is used when sometimes each node needs to be converted by its best match if there are multiple names per node. This function uses the match_table
constructed earlier to convert genes to either Symbol or Entrez format only.
convert_custom_namelist(
names, field, match_table
)
- names (required, list): A list of names that one node may have.
-
field (required, str): Filed of interest. There are two options:
"symbol"
and"entrez"
. - match_table (required, pandas.DataFrame): DataFrame that matches gene to its corresponding name in Symbol or EntrezID.
-
converted_namelist (list): The edge list in which gene names are converted based on the input
match_table
.