Permalink
Browse files

Final update

  • Loading branch information...
1 parent 176dabf commit 356833ae40277db15eb9c35d0cd7e88d670d8cfd @cheeyeelim committed Dec 11, 2015
View
@@ -1,19 +0,0 @@
-#' @title BoolTraineR: A package for studying asynchronous Boolean models
-#'
-#' @description
-#' This package contains tools for Boolean model manipulation, as well as the search for the best Boolean model.
-#'
-#' @docType package
-#' @name BoolTraineR
-NULL
-
-## All the Roxygen codes below are for generating the correct NAMESPACE file.
-#' @import methods
-#' @import parallel
-#' @import foreach
-#' @import doParallel
-NULL
-
-#' @useDynLib BoolTraineR
-#' @importFrom Rcpp sourceCpp evalCpp
-NULL
View
Binary file not shown.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,31 +0,0 @@
-% Generated by roxygen2 (4.1.1): do not edit by hand
-% Please edit documentation in R/search.R
-\name{model_train_sa}
-\alias{model_train_sa}
-\title{Training Model (using simulated annealing)}
-\usage{
-model_train_sa(edata, bmodel = NULL, istate = NULL, max_varperrule = 6,
- and_bool = T, self_loop = F, restart = 0, verbose = F)
-}
-\arguments{
-\item{edata}{data frame of expression data. Should have state(row) x gene(column).}
-
-\item{bmodel}{Boolean model in data frame. If NULL, use a random Boolean model. Defaults to NULL.}
-
-\item{istate}{data frame. Must have only 1 row, which represents 1 initial state. Defaults to NULL.}
-
-\item{max_varperrule}{integer. Maximum number of terms per rule (combining both act and inh rule). Note that this number must be higher than number of genes. Defaults to 6.}
-
-\item{and_bool}{logical. Whether to consider AND terms. IF bmodel is not NULL, defaults to whether AND interaction is included in bmodel. If bmodel is NULL, then defaults to TRUE.}
-
-\item{self_loop}{logical. Whether to allow self_loop in random starting model. Only used if is.null(bmodel). Default to F.}
-
-\item{restart}{integer. Number of restart from the best solution. Defaults to 0.}
-
-\item{verbose}{logical. Whether to give detailed output to the screen. Defaults to F.}
-}
-\description{
-This function performs model training to find the best model, using information from data. It requires an initial state supplied to perform the search, and an initial model can also be supplied to be included in the initial population.
-Note that if a model is supplied, and the genes in the model is different from the genes in the data, only the genes overlapping between model and data will be retained for further analysis.
-}
-
View
@@ -246,6 +246,7 @@ plotBM(final_model)
```
```{r, echo=FALSE, fig.show='hold', message=FALSE, dpi=75, fig.width=6, fig.height=6}
data(example_models)
+emodel1=initialise_model(em1)
plotBM(emodel1)
```
@@ -357,6 +358,7 @@ plotBM(final_model)
```
```{r, echo=FALSE, fig.show='hold', message=FALSE, dpi=75, fig.width=6, fig.height=6}
data(example_models)
+emodel2=initialise_model(em2)
plotBM(emodel2)
```
@@ -509,5 +511,6 @@ plotBM(final_model)
```
```{r, echo=FALSE, fig.show='hold', message=FALSE, dpi=75, fig.width=6, fig.height=6}
data(example_models)
+emodel3=initialise_model(em3)
plotBM(emodel3)
```
View

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 356833a

Please sign in to comment.