Description Usage Arguments Value Examples
Calculate Control Strength toward every nodes on directed graph based on information criterion
Calculate Control Strength toward every nodes on directed graph based on information criterion
1 2 |
network |
directed graph: format used in library bnlearn is used. |
exp_data |
experimental data on nodes in the network: data frame |
ic_type |
information criterion type: string "aic"(=default) or "bayes" |
is_markov |
edges are drown under markov property :boolean TRUE or FALSE(=default) |
segment |
This paramer assigns the segments of exp_data. It is used when exp_data is composed of plural time-course experiment and the edges are drown under markov property |
segment_name |
name list of segments. default (seg1,seg2,...) |
strength Control strength toward each node for every time point: data frame
1 2 3 4 5 6 7 8 9 10 11 12 | data(diauxie)#an example in GIW2015 paper
res <- tacs(diauxie$net,diauxie$exp,"aic-g",is_markov=TRUE,segment=diauxie$segment,segment_name=diauxie$segment_name)
gene_selected <- apply(res$score,2,max) + res$ave_InfoGain >0
score <- res$score[1:16,gene_selected] # 1:16: Wild Type.
score[score<0] <- 0 #to show the results in barplot, remove negatives
barplot(t(as.matrix(score)),width=nrow(score),beside=TRUE,
col=topo.colors(ncol(score)),legend.text=names(score))
WT <- select.segments(res,"WT") #Plot score of each gene
WT_genes <- select.nodes(WT,names(gene_selected[gene_selected]))
plot(WT_genes)
data(dream4) #Anther example
tacs(dream4$net,dream4$exp,"aic-g",TRUE,dream4$segment,NA) -> res
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.