featureCount: Accessor function for the 'featureCount' information in a...

Description Usage Arguments Author(s) Examples

Description

The feature count is simply the total number of feature considered in the mRMRe procedure.

Usage

1
2
3
4
5
6
## S4 method for signature 'mRMRe.Data'
featureCount(object)
## S4 method for signature 'mRMRe.Filter'
featureCount(object)
## S4 method for signature 'mRMRe.Network'
featureCount(object)

Arguments

object

a mRMRe.Data, mRMRe.Filter or mRMRe.Network object.

Author(s)

Nicolas De Jay, Simon Papillon-Cavanagh, Benjamin Haibe-Kains

Examples

1
2
3
4
5
6
7
set.thread.count(2)
data(cgps)
feature_data <- mRMR.data(data =  data.frame(cgps.ge))
featureCount(feature_data)
filter <- mRMR.classic("mRMRe.Filter", data = feature_data, target_indices = 3:5,
						feature_count = 2)
featureCount(filter)

Example output

Loading required package: survival
Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

[1] 2
[1] 1000
[1] 1000

mRMRe documentation built on Sept. 5, 2021, 5:26 p.m.