Learn R Programming

molnet (version 0.1.0)

layers_example: Formatted layers object

Description

Exemplary intermediate pipeline output containing a correctly formatted layers list.

Usage

layers_example

Arguments

Format

A list with 4 items. Each layer list contains 2 groups and a 'name' element. Each group contains 'data' and 'identifiers'. The structure for one individual layer:

group1

Data associated with group1

data
Raw data. Components (e.g. genes) in columns, samples in rows
identifiers
Data frame containing one column per ID

group2

Data associated with group2

data
see above
identifiers
see above

name

Name of the layer

Details

List containing four layer items created by make_layer. Each layer contains 'data' and 'identifiers' stratified by group and a 'name' element giving the layer name. The data contained in this example refers to mRNA, protein, phosphoprotein and metabolite layers. The data on mRNA, protein and phosphoproteins in taken from Krug et al., 2020 containing data from the Clinical Proteomic Tumor Analysis Consortium (CPTAC). The metabolite data was sampled randomly to generate distributions similar to those reported (e.g., in Terunuma et al., 2014).