Skip to Content
NodebarCustom Nodes

Custom Nodes

Custom nodes are reusable code blocks written in Python, R, or Bash. Each node has inputs, outputs, and a function body that gets executed when the workflow runs.


Random Sampler
python

Generate random samples from a distribution

random_sampler
nint
diststring
sampleslist
Output1
[0.42, -1.23, 0.87,  0.05,
 -2.11, 0.64, 1.38, -0.79,
 0.91, -0.33, 0.56,  1.02]
Shuffle Data
python

Randomly shuffle rows of a DataFrame

shuffle_data
dfDataFrame
seedint
shuffledDataFrame
Output1
   gene  expr
3  BRCA2  4.21
0  BRCA1  2.85
2   TP53  1.77
1   EGFR  3.92
Random Features
r

Select random features for training

random_features
datadata.frame
nnumeric
selectedvector
Output1
[1] "TP53"   "BRCA1"  "EGFR"
[4] "KRAS"   "PTEN"
Last updated on