MakeEpiXprS: Creates a MultiAssay object containing RNA counts, DNA...

Description Usage Arguments Value Examples

View source: R/MakeEpiXprS.R

Description

Creates a MultiAssay object containing RNA counts, DNA methylation, and clinical data.

Usage

1
2
3
4
5
6
MakeEpiXprS(
  RNASeqGene = Counts,
  Methyl = Methyl,
  Clinical = Clinical,
  samples = samples
)

Arguments

RNASeqGene

A matrix of RNA counts

Methyl

A matrix of methylation values

Clinical

A data.frame of clinical covariates

samples

A vector of sample names ordered the same as RNASeqGene and Methyl450k

Value

An object of class MultiAssayExperiment containing paired RNA counts and DNA methylation

Examples

1
2
3
4
5
6
7
data('Testdat', package = 'EpiXprS')
Methyl <- assays(Testdat)$Methyl
Counts <- assays(Testdat)$RNASeqGene
Clinical <- colData(Testdat)
samples <- sampleMap(Testdat)$primary[1:100]
Data <- MakeEpiXprS(RNASeqGene = Counts, Methyl = Methyl, 
Clinical = Clinical, samples = samples)

iloveless1/EPIExPRS documentation built on Dec. 20, 2021, 6:55 p.m.