| feature_prevalence {iteremoval} | R Documentation |
Compute the feature prevalence after removing the features of
the first index iterations.
feature_prevalence(li, index, hist.plot = TRUE)
li |
the list result of |
index |
removing the features of the first |
hist.plot |
bool. A switch to plot the histogram of the remaining features. |
Matrix
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
prevalence.result <- feature_prevalence(result.complex, 0.5, hist.plot=TRUE)
# index is a positive integer
prevalence.result <- feature_prevalence(result.complex, 233, hist.plot=TRUE)