Gets properties of an FP from FPbase, including the maximal excitation wavelength and extinction coefficient. Optionally saves these as a CSV.
Usage
get_fpbase_properties(
slug,
verbose = TRUE,
save_file = FALSE,
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 afterhttps://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.
- save_file
logical. Should the function save the output as a CSV file? Defaults to FALSE.
- 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 tofp_properties.csv
.