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

Description Usage Arguments Author(s) Examples

Description

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

Usage

1
2
3
4
5
6
## S4 method for signature 'mRMRe.Data'
sampleCount(object)
## S4 method for signature 'mRMRe.Filter'
sampleCount(object)
## S4 method for signature 'mRMRe.Network'
sampleCount(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))
sampleCount(feature_data)
filter <- mRMR.classic("mRMRe.Filter", data = feature_data, target_indices = 3:5,
						feature_count = 2)
sampleCount(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] 200
[1] 200

mRMRe documentation built on Nov. 17, 2017, 6:33 a.m.