protIndex: Index of protein name

View source: R/cpaProgs.R

protIndexR Documentation

Index of protein name

Description

Return index of a protein name and (if exactMatch=FALSE, the default) indices of proteins starting with characters that match the string given in 'protName'. If exactMatch=TRUE, return only the index of a protein name that exactly matches 'protName'.

Usage

protIndex(protName, profile, exactMatch = FALSE)

Arguments

protName

name of protein to search for

profile

data frame of specified protein(row name) profiles

exactMatch

default is FALSE

Value

The protein name and its index (row in profile)

Examples

data(protNSA_test)
protIndex('TLN1', profile=protNSA_test)
protIndex('TLN', profile=protNSA_test)

mooredf22/protlocassign documentation built on Sept. 13, 2023, 3:57 p.m.