WideSomaLogicData: Create a WideSomaLogicData object

Description Usage Arguments Value Examples

View source: R/readAdat.R

Description

Creates and object of class WideSomaLogicData.

Usage

1
2
WideSomaLogicData(sampleAndIntensityData, sequenceData, metadata,
  checksum = paste0(rep.int("f", 40), collapse = ""))

Arguments

sampleAndIntensityData

A data.table of sample and intensity data.

sequenceData

A data.table of sequence data.

metadata

A list of metadata.

checksum

A string containing a SHA1 checksum.

Value

An object of class WideSomaLogicData.

Examples

1
2
3
4
5
6
wsld <- WideSomaLogicData(
  data.frame(SampleStuff = letters, IntensityStuff = rnorm(26)),
  data.frame(SequenceStuff = LETTERS),
  list(MetadataStuff = Sys.Date())
)
str(wsld)

Example output

Warning messages:
1: no function found corresponding to methods exports from 'DelayedArray' for: 'acbind', 'arbind' 
2: no function found corresponding to methods exports from 'SummarizedExperiment' for: 'acbind', 'arbind' 
Classes 'WideSomaLogicData', 'data.table' and 'data.frame':	26 obs. of  2 variables:
 $ SampleStuff   : Factor w/ 26 levels "a","b","c","d",..: 1 2 3 4 5 6 7 8 9 10 ...
 $ IntensityStuff: num  -0.0599 -2.0841 1.3316 -0.1242 0.883 ...
 - attr(*, ".internal.selfref")=<externalptr> 
 - attr(*, "SequenceData")=Classes 'data.table' and 'data.frame':	26 obs. of  1 variable:
  ..$ SequenceStuff: Factor w/ 26 levels "A","B","C","D",..: 1 2 3 4 5 6 7 8 9 10 ...
  ..- attr(*, ".internal.selfref")=<externalptr> 
 - attr(*, "Metadata")=List of 1
  ..$ MetadataStuff: Date, format: "2020-04-27"
 - attr(*, "Checksum")= chr "ffffffffffffffffffffffffffffffffffffffff"

readat documentation built on Oct. 31, 2019, 8:19 a.m.