Learn R Programming

canprot (version 0.1.2)

get_pdat: Get Protein Data

Description

Get data on protein expression and chemical composition.

Usage

get_pdat(dataset = NULL, pdat_fun = "pdat_CRC", basis = "QEC")

Arguments

dataset

character, specifies which dataset to retrieve

pdat_fun

character, names of additional pdat_ functions

basis

character, keyword for basis species to use

Details

get_pdat serves as a wrapper to the various pdat_ functions. The names of the functions, which can include any user-defined functions in addition to those in the package, are specified in pdat_fun. Those functions are queried for the availability of dataset; if one function provides it, the corresponding dataset is returned. Leave dataset as NULL to list all datasets provided by the pdat_ functions.

Examples

Run this code
# NOT RUN {
library(CHNOSZ)
# list available datasets from pdat_CRC()
get_pdat()
# the following produces the same result as pdat_CRC("JKMF10")
get_pdat("JKMF10")
# }

Run the code above in your browser using DataLab