protImportForAnalysis: Modify import protein data

View source: R/protImportForAnalysis.R

protImportForAnalysisR 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)


Scavetta/ComPrAn documentation built on Oct. 3, 2022, 1:08 a.m.