Skip to content

Use customed geneinfo

Shao, Xin edited this page Apr 6, 2022 · 1 revision

Create geneinfo_custom

Please follow the structure and colnames of geneinfo or demo_geneinfo() as follows:

# geneinfo is a data.frame object with 3 columns
symbol synonyms species
A1BG A1B Human
A1BG ABG Human
A2MP1 A2MP Human
Aco1 Aco Mouse

Use geneinfo_custom

Replace the geneinfo with geneinfo_custom in the function of rev_gene() to revise genes of st_data, sc_data, lrpairs, and pathways

rev_gene(data, data_type, species, geneinfo = geneinfo_custom)