switch_ids: Utility for Converting Ids

View source: R/wranglers.R

switch_idsR Documentation

Utility for Converting Ids

Description

switch_ids is a small utility function that can be used to convert protein ID to transcript ID in an orthogroups

Usage

switch_ids(ogroups, ids_table, px_id, tx_id, mc.cores = 1)

Arguments

ogroups

a list of orthogroups

ids_table

a data.frame that matches the protein ID to transcript ID

px_id

a character string indicating the name of the column of protein ids in the annotation file

tx_id

a character string indicating the name of the column of transcript ids in the annotation file

mc.cores

numeric, the number of threads used for mclapply


OthoMantegazza/crossr documentation built on Feb. 1, 2023, 4:15 a.m.