corrected_datasets_ids: corrected_datasets_ids

Description Usage Arguments Value Examples

View source: R/corrected_datasets_ids.R

Description

corrected_datasets_ids corrects genes_id to a different id set

Usage

1
corrected_datasets_ids(dataset_orginal,dataset_alternate_file)

Arguments

dataset_orginal

A dataset containing kegg genes_id, the output of grep_datasets function.

dataset_alternate_file

A string for the name, and path, of a csv file contiaing the new genes_id in the same format of the dataset, the first one is the new gene ids and the second one is the map numpers.

Value

A dataset of the new genes_id in the same format of the input dataset

Examples

1
2
3
4
a <- grep_datasets(c("adu","aip"))
path <- system.file(package = "keggseq")
file <- paste0(path, "/extdata/new_ids.csv")
b <- corrected_datasets_ids(a,file)

w-korani/keggseq documentation built on May 3, 2019, 7:10 p.m.