getPatientReport: Get Patient Report

Description Usage Arguments Value Examples

Description

Get Patient Report

Usage

1
getPatientReport(input, all_data)

Arguments

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.

Value

patientReport - a data table with the metabolites and z-scores associated with the selected patient ID.

Examples

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)

NCBI-Hackathons/Metabolomics-Data-Portal documentation built on May 31, 2019, 9:59 a.m.