convertIdOneToOne: convertId

Description Usage Arguments Details Value Examples

View source: R/convertIdOneToOne.R

Description

A function to convert ID based on the biomaRt package.

Usage

1
2
3
4
5
6
7
convertIdOneToOne(
  x,
  dataset = "hsapiens_gene_ensembl",
  filters = "uniprotswissprot",
  attributes = c(filters, "entrezgene_id"),
  verbose = FALSE
)

Arguments

x

the Ids need to be converted.

dataset

Dataset you want to use. To see the different datasets available within a biomaRt you can e.g. do: mart = useMart('ensembl'), followed by listDatasets(mart).

filters

Filters (one or more) that should be used in the query. A possible list of filters can be retrieved using the function listFilters.

attributes

Attributes you want to retrieve. A possible list of attributes can be retrieved using the function listAttributes.

verbose

Logical. Indicate report extra information on progress or not.

Details

A function to convert ID based on the biomaRt package..

Value

A converted ID character with the same order of parameter x.

Examples

1
2
x<-c("Q04837","P0C0L4","P0C0L5","O75379","Q13068","A2MYD1")
convertIdOneToOne(x,filters="uniprotswissprot",verbose=TRUE)

RnaSeqSampleSize documentation built on Nov. 8, 2020, 6:54 p.m.