trans_edges_id: trans_edges_id

Description Usage Arguments Details Value Examples

Description

translate the id name in edges_data

Usage

1
2
3
4
5
6
trans_edges_id(
  edges_data,
  from_type = "ENTREZID",
  to_type = "SYMBOL",
  gene_info_db = NULL
)

Arguments

edges_data,

the edges_data to translate, it can be the data.frame got from get_exp_cor_edges or get_asso_net, or a data.frame contains the same colnames with them.

from_type,

a character,the type of gene ID, "ENSEMBL","GO","SYMBOL" and so on.

to_type,

a character,the type of gene ID, "ENSEMBL","GO","SYMBOL" and so on.

gene_info_db,

a gene

Details

Translate the id name in edges_data. Note, the from_type must be consistent with the genes id type in edges_data. The gene_info_db must be consistent with the species in edges_data

Value

the id of the edges.

Examples

1
2
3
4
5

aib-group/PFP documentation built on Dec. 27, 2020, 1:13 a.m.