siamcat: siamcat

Description Usage Arguments Details Value Examples

View source: R/siamcat_class_constructor.R

Description

Function to construct an object of class siamcat-class

Usage

1

Arguments

...

list of arguments needed in order to construct a SIAMCAT object

Details

Build siamcat-class objects from their components.

Value

A new siamcat-class object

Examples

 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)

KonradZych/SIAMCAT documentation built on May 17, 2019, 6:20 p.m.