feature_hist {iteremoval}R Documentation

Plot histogram of feature prevalence

Description

Compute the feature prevalence (present in different cutoffs) after removing the features of the first index iterations, and then plot the histogram of remaining features. It calls feature_prevalence(..., hist.plot=TRUE).

Usage

feature_hist(li, index)

Arguments

li

the list result of feature_removal.

index

removing the features of the first index iterations. It allows a positive integer or a proper fraction. If inproper fraction, it is regarded as as.integer(index).

Value

histogram

Examples

g1 <- SWRG1; g0 <- SWRG0

result.complex <- feature_removal(g1, g0,
    cutoff1=0.95, cutoff0=0.925,
    offset=c(0.5, 1, 2))

# index is a proportion in 0-1
feature_hist(result.complex, 0.5)

# index is a positive integer
feature_hist(result.complex, 233)

[Package iteremoval version 1.10.0 Index]