Learn R Programming

invivoPKfit (version 2.0.1)

rename2_cvt: Convert invivoPKfit output table names to the CvTdb names

Description

Convert invivoPKfit output table names to the CvTdb names

Usage

rename2_cvt(
  data,
  cvt_LUT = c(analyte_dtxsid = "Chemical", analyte_dtxsid = "DTXSID",
    analyte_name_original = "Chemica_Name", species = "Species",
    fk_extraction_document_id = "Reference", conc_medium_normalized = "Media",
    administration_route_normalized = "Route", invivPK_dose_level = "Dose", fk_subject_id
    = "Subject_ID", fk_series_id = "Series_ID", fk_study_id = "Study_ID", conc_time_id =
    "ConcTime_ID", invivPK_subjects_corrected = "N_Subjects", weight_kg = "Weight",
    time_hr = "Time", invivPK_conc = "Value", invivPK_conc_sd = "Value_SD", 
    
    invivPK_loq = "LOQ")
)

Arguments

data

A data frame from on the invivoPKfit outputs.

cvt_LUT

A look-up table for the name conversions, can be constomized. must be a vector.