Gets properties of an FP from FPbase, including the maximal excitation wavelength and extinction coefficient, and saves these as csv.

get_properties(
  slug,
  verbose = TRUE,
  outfolder = ".",
  filename = "fp_properties.csv"
)

Arguments

slug

Name of FP, which is used to find the FP-relevant data lines in the FPbase datasets. This argument is called slug because for FPbase retrievals, this needs to be an exact match to the slug specified by FPbase. (To find this, navigate to the FPbase entry for your FP and copy the part after https://www.fpbase.org/protein/ (without the trailing /).

verbose

logical. Should the function print messages to allow the user to check its progress? Defaults to TRUE.

outfolder

path to folder where output files should be saved. Defaults to current working directory.

filename

How to name the output csv file. Requires ".csv" at the end. Defaults to "fp_properties.csv".

Examples

get_properties("mcherry")