Function to retrieve the filtered features from a SIAMCAT object

get.filt_feat.matrix(siamcat)

Arguments

siamcat

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

Value

A matrix containing the filtered features

Details

The function returns the filtered features as matrix. See filter.features for more details.

Examples

data(siamcat_example)
feat.filt <- get.filt_feat.matrix(siamcat_example)
feat.filt[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