dbGetModificationsTable: function to get data from the ModificationSides table using...

View source: R/proteinDatabase.R

dbGetModificationsTableR Documentation

function to get data from the ModificationSides table using the modificiationSiteId's

Description

function to get data from the ModificationSides table using the modificiationSiteId's

Usage

dbGetModificationsTable(
  db,
  modificatonSitesIDs,
  columns = NA,
  sortorder = NA,
  SQL = FALSE
)

Arguments

db

database access 'handle'

modificatonSitesIDs

the modification site identifiers to get from the ModificationSites table

columns

allows the selection of columns to take from the table, default = NA (all columns)

sortorder

allows for sorting of the selected columns, default = NA, (no sorting). Other valid values are a single character string ("ASC" or "DESC") or a character vector of the same length as the columnNames vector containing a series of "ASC" or "DESC"

SQL

allows the function to return the SQL query statement in stead of a data.frame

Value

a data.frame or a character vector (SQL)

Note

the easiest way to get the modificationSitesIDs is via the dbGetModificationsSitesIDs function


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