make_cbio_clinical_header: Make header for cBioPortal clinical data file

View source: R/cboilerplate.R

make_cbio_clinical_headerR Documentation

Make header for cBioPortal clinical data file

Description

This is called from the wrapper write_cbio_clinical. Adapted from https://github.com/Sage-Bionetworks/genie-erbb2-cbio/blob/develop/create_clinical.R#L396. Needs a data table of clinical data and a reference providing label, description, and data_type.

Usage

make_cbio_clinical_header(df, mapping)

Arguments

df

A data.frame representing clinical dataset to publicize.

mapping

A reference table providing label, description, and data_type for each source attribute in df.


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.