Description Usage Arguments Value Examples
This function performs an Importance Analysis using random forest algorithm. For more details, please look at here.
1 | vs_importance_analysis(vsc, vcf_source, labels, n_trees)
|
vsc |
A variantspark connection. |
vcf_source |
An object with |
labels |
An object with |
n_trees |
The number of trees using in the random forest. |
spark_jobj, shell_jobj
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
library(sparklyr)
sc <- spark_connect(master = "local")
vsc <- vs_connect(sc)
hipster_vcf <- vs_read_vcf(vsc,
system.file("extdata/hipster.vcf.bz2",
package = "variantspark"))
labels <- vs_read_labels(vsc,
system.file("extdata/hipster_labels.txt",
package = "variantspark"))
vs_importance_analysis(vsc, hipster_vcf, labels, 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.