Description Usage Arguments Details Value Examples
mulset()
returns all multi-set intersections
1 2 |
data |
Data frame containing your data |
exclude |
Vector containing one or more variable names from |
include |
List of attributes which will be shown in results. Possible values are: c("samples", "samples_count", "datapoints"). If parameter is set to NULL only c("features", "feature_count") will be returned. |
maxIntersections |
Maximum number of unique datasets to generate, if NULL all datasets will be generated |
hashMethod |
Hashing method to use for unique sets identification. Available choices: md5(default), sha1, crc32, sha256, sha512, xxhash32, xxhash64, murmur32 |
This function allows you to generate specific type of multi-set intersections. It searches for multi set intersections between rows and column identifiers. If no NA values are present only 1 dataset is returned as expected.
If any intersections are found it returns a list that contains all available multi-set intersections You can convert this to data-frame following example provided or use it as it is.
1 2 3 4 5 | data(mulsetDemo)
print(head(mulsetDemo))
resamples <- mulset(mulsetDemo, exclude = c("outcome", "age", "gender"), maxIntersections = 250)
## Loop through returned list or convert it to data-frame
## resamplesFrame <- as.data.frame(t(sapply(resamples,c)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.