Back to Multiple platform build/check report for BioC 3.6
ABCDEFGHIJKL[M]NOPQRSTUVWXYZ

CHECK report for MultiAssayExperiment on tokay1

This page was generated on 2018-04-12 13:27:49 -0400 (Thu, 12 Apr 2018).

Package 909/1472HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
MultiAssayExperiment 1.4.9
Marcel Ramos
Snapshot Date: 2018-04-11 16:45:18 -0400 (Wed, 11 Apr 2018)
URL: https://git.bioconductor.org/packages/MultiAssayExperiment
Branch: RELEASE_3_6
Last Commit: bf2ee26
Last Changed Date: 2018-01-06 21:04:02 -0400 (Sat, 06 Jan 2018)
malbec1 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay1 Windows Server 2012 R2 Standard / x64  OK  OK [ WARNINGS ] OK UNNEEDED, same version exists in internal repository
veracruz1 OS X 10.11.6 El Capitan / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: MultiAssayExperiment
Version: 1.4.9
Command: rm -rf MultiAssayExperiment.buildbin-libdir MultiAssayExperiment.Rcheck && mkdir MultiAssayExperiment.buildbin-libdir MultiAssayExperiment.Rcheck && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD INSTALL --build --merge-multiarch --library=MultiAssayExperiment.buildbin-libdir MultiAssayExperiment_1.4.9.tar.gz >MultiAssayExperiment.Rcheck\00install.out 2>&1 && cp MultiAssayExperiment.Rcheck\00install.out MultiAssayExperiment-install.out && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD check --library=MultiAssayExperiment.buildbin-libdir --install="check:MultiAssayExperiment-install.out" --force-multiarch --no-vignettes --timings MultiAssayExperiment_1.4.9.tar.gz
StartedAt: 2018-04-12 01:41:13 -0400 (Thu, 12 Apr 2018)
EndedAt: 2018-04-12 01:45:30 -0400 (Thu, 12 Apr 2018)
EllapsedTime: 257.3 seconds
RetCode: 0
Status:  WARNINGS  
CheckDir: MultiAssayExperiment.Rcheck
Warnings: 1

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   rm -rf MultiAssayExperiment.buildbin-libdir MultiAssayExperiment.Rcheck && mkdir MultiAssayExperiment.buildbin-libdir MultiAssayExperiment.Rcheck && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD INSTALL --build --merge-multiarch --library=MultiAssayExperiment.buildbin-libdir MultiAssayExperiment_1.4.9.tar.gz >MultiAssayExperiment.Rcheck\00install.out 2>&1 && cp MultiAssayExperiment.Rcheck\00install.out MultiAssayExperiment-install.out  &&  C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD check --library=MultiAssayExperiment.buildbin-libdir --install="check:MultiAssayExperiment-install.out" --force-multiarch --no-vignettes --timings MultiAssayExperiment_1.4.9.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.6-bioc/meat/MultiAssayExperiment.Rcheck'
* using R version 3.4.4 (2018-03-15)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'MultiAssayExperiment/DESCRIPTION' ... OK
* this is package 'MultiAssayExperiment' version '1.4.9'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'MultiAssayExperiment' can be installed ... WARNING
Found the following significant warnings:
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/ExperimentList-class.Rd:89: missing file link 'CharacterList'
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MatchedAssayExperiment-class.Rd:18: missing file link 'DataFrame'
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MultiAssayExperiment-class.Rd:75: missing file link 'RaggedExperiment'
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MultiAssayExperiment-class.Rd:159: missing file link 'SimpleList'
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MultiAssayExperiment.Rd:16: missing file link 'DataFrame'
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/RangedRaggedAssay-class.Rd:47: missing file link 'GRangesList'
  Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/RangedRaggedAssay.Rd:26: missing file link 'RaggedExperiment'
See 'C:/Users/biocbuild/bbs-3.6-bioc/meat/MultiAssayExperiment.Rcheck/00install.out' for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* loading checks for arch 'x64'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... NOTE
Unexported object imported by a ':::' call: 'BiocGenerics:::replaceSlots'
  See the note in ?`:::` about the use of this operator.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of 'data' directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x64' ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'testthat.R'
 OK
** running tests for arch 'x64' ...
  Running 'testthat.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 WARNING, 1 NOTE
See
  'C:/Users/biocbuild/bbs-3.6-bioc/meat/MultiAssayExperiment.Rcheck/00check.log'
for details.



Installation output

MultiAssayExperiment.Rcheck/00install.out


install for i386

* installing *source* package 'MultiAssayExperiment' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
  converting help for package 'MultiAssayExperiment'
    finding HTML links ... done
    API                                     html  
    ExperimentList-class                    html  
    finding level-2 HTML links ... done

Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/ExperimentList-class.Rd:89: missing file link 'CharacterList'
    ExperimentList                          html  
    MatchedAssayExperiment-class            html  
Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MatchedAssayExperiment-class.Rd:18: missing file link 'DataFrame'
    MultiAssayExperiment-class              html  
Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MultiAssayExperiment-class.Rd:75: missing file link 'RaggedExperiment'
Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MultiAssayExperiment-class.Rd:159: missing file link 'SimpleList'
    MultiAssayExperiment-helpers            html  
    MultiAssayExperiment-methods            html  
    MultiAssayExperiment-package            html  
    MultiAssayExperiment                    html  
Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/MultiAssayExperiment.Rd:16: missing file link 'DataFrame'
    RangedRaggedAssay-class                 html  
Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/RangedRaggedAssay-class.Rd:47: missing file link 'GRangesList'
    RangedRaggedAssay                       html  
Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpkXVpnm/R.INSTALL187c448871a7/MultiAssayExperiment/man/RangedRaggedAssay.Rd:26: missing file link 'RaggedExperiment'
    assay-RangedRaggedAssay-missing-method
                                            html  
    clusterOn                               html  
    hasAssay                                html  
    mapToList                               html  
    miniACC                                 html  
    prepMultiAssay                          html  
    subsetBy                                html  
    upsetSamples                            html  
** building package indices
** installing vignettes
** testing if installed package can be loaded
In R CMD INSTALL

install for x64

* installing *source* package 'MultiAssayExperiment' ...
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'MultiAssayExperiment' as MultiAssayExperiment_1.4.9.zip
* DONE (MultiAssayExperiment)
In R CMD INSTALL
In R CMD INSTALL

Tests output

MultiAssayExperiment.Rcheck/tests_i386/testthat.Rout


R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(MultiAssayExperiment)
> 
> test_check("MultiAssayExperiment")

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)
== testthat results  ===========================================================
OK: 112 SKIPPED: 0 FAILED: 0
> 
> proc.time()
   user  system elapsed 
  18.28    0.37   19.79 

MultiAssayExperiment.Rcheck/tests_x64/testthat.Rout


R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(MultiAssayExperiment)
> 
> test_check("MultiAssayExperiment")

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)

MltAsE> ## Run the example ExperimentList
MltAsE> example("ExperimentList")

ExprmL> ## Create an empty ExperimentList instance
ExprmL> ExperimentList()
ExperimentList class object of length 0:  

ExprmL> ## Create array matrix and AnnotatedDataFrame to create an ExpressionSet class
ExprmL> arraydat <- matrix(data = seq(101, length.out = 20), ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000294241", "ENST00000355076",
ExprmL+         "ENST00000383706","ENST00000234812", "ENST00000383323"),
ExprmL+         c("array1", "array2", "array3", "array4")
ExprmL+     ))

ExprmL> arraypdat <- as(data.frame(
ExprmL+     slope53 = rnorm(4),
ExprmL+     row.names = c("array1", "array2", "array3", "array4")),
ExprmL+     "AnnotatedDataFrame")

ExprmL> ## ExpressionSet constructor
ExprmL> exprdat <- Biobase::ExpressionSet(assayData = arraydat, phenoData = arraypdat)

ExprmL> ## Create a sample methylation dataset
ExprmL> methyldat <- matrix(data = seq(1, length.out = 25), ncol = 5,
ExprmL+     dimnames = list(
ExprmL+         c("ENST00000355076", "ENST00000383706",
ExprmL+           "ENST00000383323", "ENST00000234812", "ENST00000294241"),
ExprmL+         c("methyl1", "methyl2", "methyl3",
ExprmL+           "methyl4", "methyl5")
ExprmL+     ))

ExprmL> ## Create a sample RNASeqGene dataset
ExprmL> rnadat <- matrix(
ExprmL+     data = sample(c(46851, 5, 19, 13, 2197, 507,
ExprmL+         84318, 126, 17, 21, 23979, 614), size = 20, replace = TRUE),
ExprmL+     ncol = 4,
ExprmL+     dimnames = list(
ExprmL+         c("XIST", "RPS4Y1", "KDM5D", "ENST00000383323", "ENST00000234812"),
ExprmL+         c("samparray1", "samparray2", "samparray3", "samparray4")
ExprmL+     ))

ExprmL> ## Combine to a named list and call the ExperimentList constructor function
ExprmL> ExpList <- list(Affy = exprdat, Methyl450k = methyldat, RNASeqGene = rnadat)

ExprmL> ## Use the ExperimentList constructor
ExprmL> myExperimentList <- ExperimentList(ExpList)

MltAsE> ## Create sample maps for each experiment
MltAsE> exprmap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("array1", "array2", "array3", "array4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> methylmap <- data.frame(
MltAsE+     primary = c("Jack", "Jack", "Jill", "Barbara", "Bob"),
MltAsE+     colname = c("methyl1", "methyl2", "methyl3", "methyl4", "methyl5"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> rnamap <- data.frame(
MltAsE+     primary = c("Jack", "Jill", "Bob", "Barbara"),
MltAsE+     colname = c("samparray1", "samparray2", "samparray3",
MltAsE+                                "samparray4"),
MltAsE+     stringsAsFactors = FALSE)

MltAsE> ## Combine as a named list and convert to a DataFrame
MltAsE> mylist <- list(Affy = exprmap, Methyl450k = methylmap, RNASeqGene = rnamap)

MltAsE> ## Create a sampleMap
MltAsE> mySampleMap <- listToMap(mylist)

MltAsE> ## Create an example phenotype data
MltAsE> colDat <- data.frame(sex = c("M", "F", "M", "F"),
MltAsE+                        age = 38:41,
MltAsE+                        row.names = c("Jack", "Jill", "Bob", "Barbara"))

MltAsE> ## Create a MultiAssayExperiment instance
MltAsE> myMultiAssayExperiment <- MultiAssayExperiment(experiments = ExpList,
MltAsE+                                                colData = colDat,
MltAsE+                                                sampleMap = mySampleMap)
== testthat results  ===========================================================
OK: 112 SKIPPED: 0 FAILED: 0
> 
> proc.time()
   user  system elapsed 
  20.28    0.26   21.79 

Example timings

MultiAssayExperiment.Rcheck/examples_i386/MultiAssayExperiment-Ex.timings

nameusersystemelapsed
API000
ExperimentList-class000
ExperimentList0.140.000.14
MatchedAssayExperiment-class1.030.031.07
MultiAssayExperiment-class1.630.001.62
MultiAssayExperiment-methods0.190.020.20
MultiAssayExperiment0.120.000.13
clusterOn0.470.000.47
hasAssay000
mapToList0.160.000.15
miniACC0.710.000.72
prepMultiAssay0.350.000.35
subsetBy1.610.001.61
upsetSamples2.230.062.31

MultiAssayExperiment.Rcheck/examples_x64/MultiAssayExperiment-Ex.timings

nameusersystemelapsed
API000
ExperimentList-class0.030.000.03
ExperimentList0.250.000.25
MatchedAssayExperiment-class1.470.021.48
MultiAssayExperiment-class2.340.002.34
MultiAssayExperiment-methods0.280.000.28
MultiAssayExperiment0.160.000.16
clusterOn0.810.000.81
hasAssay000
mapToList0.220.010.24
miniACC0.970.000.97
prepMultiAssay0.540.000.54
subsetBy2.050.002.05
upsetSamples2.30.02.3