divide_features_one {SUMO} | R Documentation |
Dividing features to create vectors with signal in the first omic for single data
divide_features_one(n_features_one, num.factor)
n_features_one |
number of features of first omic |
num.factor |
number of factors (should be set to '1') |
A list of numeric vectors. Each vector contains 80% of the features from one segment of the original feature set.
The number of segments is determined by the number of factors provided (num.factor
).
Each vector is a subset of the original feature set, selected randomly to contain 80% of the elements from the segment.
If the minimum segment size constraint is too large for the given feature length and number of segments, the function retries using the divide_vector()
function.