Function to retrieve the original features from a SIAMCAT object

get.orig_feat.matrix(siamcat)

Arguments

siamcat

(Required). An instance of siamcat-class

Value

A matrix containing the original features

Details

The function returns the original features as matrix.

Examples

data(siamcat_example) feat.original <- get.orig_feat.matrix(siamcat_example) feat.original[1:3, 1:3]
#> CCIS27304052ST-3-0 CCIS15794887ST-4-0 #> unclassified Fusobacterium [c:1482] 0.000000e+00 0.000000e+00 #> unclassified Fusobacterium [c:1481] 0.000000e+00 0.000000e+00 #> Pseudoflavonifractor capillosus [h:1579] 7.660941e-05 4.439313e-05 #> CCIS74726977ST-3-0 #> unclassified Fusobacterium [c:1482] 1.554121e-06 #> unclassified Fusobacterium [c:1481] 1.103217e-05 #> Pseudoflavonifractor capillosus [h:1579] 9.829712e-05