Description Usage Arguments Value Examples
View source: R/xnnet_functions_v0.1.R
This function builds xnnet using a labeled training set of transcriptional profiles, and a list of annotation libraries
1 2 3 4 5 6 7 8 9 10 11 | build_xnnet(
X_train,
y_train,
annotation_libraries,
n_input_nodes = 3,
n_hidden_nodes = 4,
n_unassigned = 3,
number = 10,
min_decay = 0.1,
max_decay = 1
)
|
X_train |
data matrix |
y_train |
binary labels |
annotation_libraries |
a list of annotation libraries. Each library is a list of gene sets gene sets |
n_input_nodes |
maximum number of input nodes per hidden nodes |
n_hidden_nodes |
number of hidden nodes in the network |
n_unassigned |
number of input genes not assigned to a specific gene set |
number |
number of bootstrap samples for network training |
min_decay |
minimum value of the decay parameter for regularization |
max_decay |
maximum value of the decay parameter for regularization |
A list containing an xnnet object for each annotation library
1 2 3 4 5 | data("GSE37250") #load Tubercolosis dataset
data("annotation_libraries")
GSE37250_split = train_test_split(GSE37250$X, GSE37250$y)
xnnet = build_xnnet(X_train = GSE37250_split$X_train, y_train = GSE37250_split$y_train,
annotation_libraries = annotation_libraries)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.