Description Usage Arguments Value Examples
Get Patient Report
1 | getPatientReport(input, all_data)
|
all_data |
- The entire data matrix loaded based on the diagnosis selected in the dropdown menu input$diagClass. |
PatientID |
- The patient identifier string associated with the patient's profile. |
patientReport - a data table with the metabolites and z-scores associated with the selected patient ID.
1 2 3 4 5 6 7 | data(Miller2015_Heparin)
# Input is supplied by R shiny app, but you can hard code parameters as a list object, too, to test functionality.
input = list()
input$ptIDs = colnames(Miller2015_Heparin)[4]
input$diagClass = "paa"
rpt = getPatientReport(input, Miller2015_Heparin)
head(rpt$patientReport)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.