getProteinInfoRaw: get protein info (without translation of columns) from a list...

View source: R/TMT.R

getProteinInfoRawR Documentation

get protein info (without translation of columns) from a list of protein Accessions (uniprot code). Essentially this is a wrapper function for dbGetTable

Description

get protein info (without translation of columns) from a list of protein Accessions (uniprot code). Essentially this is a wrapper function for dbGetTable

Usage

getProteinInfoRaw(
  db,
  columns = c("Accession", "ProteinGroupIDs", "AbundancesNormalized", "AbundanceRatios",
    "AbundanceRatioPValue", "AbundanceRatioAdjPValue"),
  proteinAccessions = knockOutProteins()$Accession,
  sortorder = "Accession",
  SQL = FALSE
)

Arguments

db

database access 'handle'

columns

allows the selection of columns to take from the table

proteinAccessions

defines which protein(s) info will be retrieved (character vector)

sortorder

allows for sorting of the resulting data.frame by on of it's columns (default = "Accession")

SQL

allows the function to return the SQL query statement in stead of a data.frame (for debugging purposes)

Value

a data.frame containing requested data from the protein table or a character string specifying an SQL query


BenBruyneel/proteinDiscover documentation built on March 16, 2024, 4:36 p.m.