protImportForAnalysis {ComPrAn} | R Documentation

## Modify import protein data

### Description

This function converts imported protien table into format compatible with downstream analysis Imported file needs to contain following columns:

- "Protein Group Accessions" - character/factor

- "Protein Descriptions" - character

- "scenario" - character/factor

- "label" - logical

- columns "1" to "n" - numeric

### Usage

    protImportForAnalysis(inputFile)

### Arguments

`inputFile` | - character vector containing the location of protein file

### Value

data frame

### Examples

    ##Use example normalised proteins file
    inputFile <- system.file("extData", "dataNormProts.txt", package = "ComPrAn")
    #read file in and change structure of table to required format
    forAnalysis <- protImportForAnalysis(inputFile)

[Package ComPrAn version 1.2.0 Index]