createTSVTemplates: Create examples files for Sample mapping and information used...

Description Usage Arguments Examples

View source: R/Small.R

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

1

Arguments

met

DNA methylation matrix or Summarized Experiment

exp

Gene expression matrix or Summarized Experiment

Examples

1
2
3
4
5
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)                       

ELMER documentation built on Nov. 8, 2020, 4:59 p.m.