Print a summary of the featscreen
object.
Usage
# S3 method for featscreen
print(x, show.top = TRUE, top = 5L, show.names = TRUE, ...)
Arguments
- x
an object of class
featscreen
.- show.top
logical indicating whether to show
top
ranked features.- top
integer, the number of top ranked features to show.
- show.names
logical indicating whether to show indices or names.
- ...
additional print arguments
Examples
#featscreen object
x = featscreen(
method = 'cor.test',
selection = 'cutoff',
summary = '3 out of 5 features selected by a cutoff.',
n = 5,
keep = c(TRUE,FALSE,TRUE,FALSE,TRUE),
features = paste0("f", seq_len(5)),
ranks = c(1,5,3,4,2)
)
#print
print(x)
#>
#> 3 out of 5 features selected by a cutoff.
#>
#> Top 5 ranked features: f1, f5, f3, f4, f2
#>