sampleWeights | R Documentation |
TODO
## S4 method for signature 'mRMRe.Data'
sampleWeights(object)
## S4 replacement method for signature 'mRMRe.Data'
sampleWeights(object) <- value
object |
a |
value |
a numeric vector containing the biases of each sample in the mutual information computation. |
Nicolas De Jay, Simon Papillon-Cavanagh, Benjamin Haibe-Kains
set.thread.count(2)
data(cgps)
feature_data <- mRMR.data(data = data.frame(cgps.ge))
# Uniform weight (default)
sampleWeights(feature_data)
# Random weighting
sampleWeights(feature_data) <- runif(sampleCount(feature_data))
# Show result
sampleWeights(feature_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.