Function to retrieve the normalized features from a SIAMCAT object

get.norm_feat.matrix(siamcat)

Arguments

siamcat

(Required). An instance of siamcat-class containing normalized features

Value

A matrix containing the normalized features

Details

The function returns the normalized features as matrix. See normalize.features for more details.

Examples

data(siamcat_example)
feat.norm <- get.norm_feat.matrix(siamcat_example)
feat.norm[1:3, 1:3]
#>                                          CCIS27304052ST-3-0 CCIS15794887ST-4-0
#> unclassified Fusobacterium [c:1482]              0.07470277         0.05137575
#> unclassified Fusobacterium [c:1481]              0.07470277         0.05137575
#> Pseudoflavonifractor capillosus [h:1579]         0.19537649         0.15983568
#>                                          CCIS74726977ST-3-0
#> unclassified Fusobacterium [c:1482]               0.1143025
#> unclassified Fusobacterium [c:1481]               0.1371630
#> Pseudoflavonifractor capillosus [h:1579]          0.2057445