add_names {KBoost}R Documentation

Function to add names to network for the user.

Description

Function to add names to network for the user.

Usage

add_names(grn, gen_names)

Arguments

grn

a GRN object from KBoost.

gen_names

a vector with the gene names.

Value

grn a GRN object with elements with user-defined gene names.

Examples

    data(D4_multi_1)
    Net = kboost(D4_multi_1)
    g_names = matrix("G",100,1)
    for (i in seq_along(g_names)){
        g_names[i] = paste(g_names[i],toString(i), sep = "")
    }
    Net = add_names(Net,g_names)


[Package KBoost version 1.1.0 Index]