getAccessions: getAccessions

Description Usage Arguments Details Value Examples

View source: R/getAccessions.R

Description

Function to extract entries from a UniprotKB/Swissprot fasta header

Usage

1

Arguments

x

fasta header

y

position of string separated by '|' that is to be eaxtracted (From the right starting at position 0)

Details

Used withing the package MHCIatlas to aid data analysis

Value

Substring

Examples

1
2
3
4
5
## Not run: 
getAccessions('sp|P55012|S12A2_MOUSE',0)
> "S12A2"

## End(Not run)

CaronLab/MHCIatlas documentation built on March 10, 2021, 12:38 a.m.