convert2symbol {SubCellBarCode} | R Documentation

## Convert identifier to gene symbol

### Description

Identifier for each feature should be converted into gene symbols unless they are not gene symbols

### Usage

    convert2symbol(df, id = "UNIPROT")

### Arguments

`df` | data.frame; fractionated proteomics data where data contains 10 columns of duplicated 5 fractionations and rownames must be identifier e.g. UNIPROT, Entrez ID
`id` | caharacter; identifier id for each protein

### Value

df

### Examples

    {

    df <- data.frame(Uniprot = c("A4D0S4","A8TX70","O00305","O00337"),
    Organism = rep("Homo Sap.", 4))

    rownames(df) <- df$Uniprot
    }

[Package SubCellBarCode version 1.6.0 Index]