get_UniprotID_from_fasta_header: Translate Fasta header to UniprotSwissprot ID

Description Usage Arguments Value Examples

View source: R/getUniprotFromFastaHeader.R

Description

Translate Fasta header to UniprotSwissprot ID

Usage

1
get_UniprotID_from_fasta_header(df, idcolumn = "protein_Id")

Arguments

df

data.frame with FASTA headers in first column

idcolumn

Column name containing the IDs

Value

Returns the whole data.frame with a column called UniprotID containing UniprotSwissprot IDs instead of Fasta headers. This format is easier to use for subsequent ID mappings using the Annotationdbi package.

Examples

1
2
data("exampleContrastData", package = "prora")
get_UniprotID_from_fasta_header(exampleContrastData)

protViz/fgcz.gsea.ora documentation built on Dec. 24, 2021, 9:47 a.m.