Add gene information to homolog data.frame

addGeneInfo(homolog_df, genes_gr, type = "ortholog_pair_only")

Arguments

homolog_df

The data.frame with homologs. The output from function getHomologIDs

genes_gr

The GRanges object with gene info. The output from function getGeneGRs

type

The type to indicate how to add the gene information. It could be ortholog_pair_only, ortholog_group_only or ortholog_group_with_gene_info.