Description Usage Arguments Details Value Examples
View source: R/siamcat_class_constructor.R
Function to construct an object of class siamcat-class
1 |
... |
list of arguments needed in order to construct a SIAMCAT object |
Build siamcat-class objects from their components.
A new siamcat-class object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # example with package data
fn.in.feat <- system.file('extdata',
'feat_crc_zeller_msb_mocat_specI.tsv',
package = 'SIAMCAT')
fn.in.label <- system.file('extdata',
'label_crc_zeller_msb_mocat_specI.tsv',
package = 'SIAMCAT')
fn.in.meta <- system.file('extdata',
'num_metadata_crc_zeller_msb_mocat_specI.tsv',
package = 'SIAMCAT')
feat <- read.features(fn.in.feat)
label <- read.labels(fn.in.label)
meta <- read.meta(fn.in.meta)
siamcat <- siamcat(feat, label, meta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.