createTSVTemplates {ELMER} | R Documentation

## Create examples files for Sample mapping and information used in createMAE function

### Description

This function will receive the DNA methylation and gene expression matrix and will create some examples of table for the argument colData and sampleMap used in ceeateMae function.

### Usage

    createTSVTemplates(met, exp)

### Arguments

`met` | DNA methylation matrix or Summarized Experiment
`exp` | Gene expression matrix or Summarized Experiment

### Examples

    gene.exp <- S4Vectors::DataFrame(sample1.exp = c("ENSG00000141510"=2.3,"ENSG00000171862"=5.4),
                      sample2.exp = c("ENSG00000141510"=1.6,"ENSG00000171862"=2.3))
    dna.met <- S4Vectors::DataFrame(sample1.met = c("cg14324200"=0.5,"cg23867494"=0.1),
                           sample2.met =  c("cg14324200"=0.3,"cg23867494"=0.9))
    createTSVTemplates(met = dna.met, exp = gene.exp)

[Package ELMER version 2.4.4 Index]