Skip to content

Commit b473734

Browse files
committed
Complete documentation of subnetwork extraction and search
1 parent 5625cdb commit b473734

7 files changed

+50
-26
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: Corbi
2-
Version: 0.3-4
2+
Version: 0.3-5
33
Title: Collection of Rudimentary Bioinformatics Tools
44
Description: Provides a bundle of basic and fundamental bioinformatics tools,
5-
such as network querying and alignment.
5+
such as network querying and alignment, subnetwork extraction and search.
66
Authors@R: c(person("Ling-Yun", "Wu", role = c("aut", "cre"), email =
77
"[email protected]"), person("Qiang", "Huang", role = c("aut"), email =
88

R/Corbi-package.R

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
#' Corbi - Bioinformatics analysis tools
1+
#' Corbi - Collection of Rudimentary Bioinformatics Tools
22
#'
3-
#' This pakcage provides a bundle of bioinformatics analysis tools for biomedical research.
3+
#' This pakcage provides a bundle of basic and fundamental bioinformatics tools.
44
#'
5-
#' This is a collection of bioinformatics analysis tools developed by WuLab at Academy of Mathematics
5+
#' These bioinformatics tools are developed by \href{http://wulab.aporc.org}{WuLab} at Academy of Mathematics
66
#' and Systems Science, Chinese Academy of Sciences.
77
#'
8-
#' Network comparison:
8+
#' Network querying and alignment:
99
#' \itemize{
1010
#' \item \code{\link{net_query}} Network querying method based on conditional random fields
1111
#' \item \code{\link{net_query_batch}} Batch processing version of \code{\link{net_query}}
1212
#' \item \code{\link{net_align}} Network alignment method based on conditional random fields
1313
#' }
1414
#'
15+
#' Subnetwork extraction and search:
16+
#' \itemize{
17+
#' \item \code{\link{get_subnets}} Enumerate all subnetworks of limited size
18+
#' \item \code{\link{extend_subnets}} Extend subnetworks from smaller subnetworks
19+
#' \item \code{\link{best_subnets}} Search best subnetworks that maximize given objective function
20+
#' }
21+
#'
1522
#'
1623
#' @name Corbi-package
1724
#' @aliases Corbi-package Corbi

R/subnets.R

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
#' The best subnetworks that maximize given objective function
1+
#' The best subnetworks
22
#'
3-
#' Find the best subnetworks that maximize given objective function. If the size of
3+
#' Search best subnetworks that maximize given objective functions.
4+
#'
5+
#' Enumerate and search the best subnetworks that maximize given objective function. If the size of
46
#' subnetworks <= \code{exhaust.size}, exact exhaustive searching is applied,
57
#' otherwise, heuristic searching algorithm is used.
68
#'
@@ -54,7 +56,7 @@ best_subnets <- function(func, net.matrix, max.size = 10, exhaust.size = 5, max.
5456
}
5557

5658

57-
#' All subnetworks with limited size
59+
#' All subnetworks of limited size
5860
#'
5961
#' Enumerate all subnetworks of size <= \code{max.size} from given network.
6062
#'
@@ -82,12 +84,14 @@ get_subnets <- function(net.matrix, max.size = 2)
8284
}
8385

8486

85-
#' All subnetworks by overlapping two subnetworks
86-
#'
87-
#' Enumerate all possible subnetworks of desired size by overlapping two sets of subnetworks
88-
#' of size \code{s1} and \code{s2}. The desired size should be between \code{max(s1,s2)+1}
89-
#' and \code{s1+s2-1}. Invalid desired size will be replaced by the minimum allowed value
90-
#' \code{max(s1,s2)+1}.
87+
#' Extend subnetworks from smaller subnetworks
88+
#'
89+
#' Extend subnetworks by pairwise overlapping two sets of smaller subnetworks.
90+
#'
91+
#' Enumerate all possible subnetworks of desired size by pairwise overlapping two sets of
92+
#' subnetworks of size \code{s1} and \code{s2}. The desired size should be between
93+
#' \code{max(s1,s2)+1} and \code{s1+s2-1}. Invalid desired size will be replaced by the
94+
#' minimum allowed value \code{max(s1,s2)+1}.
9195
#'
9296
#' @param subnet1 The matrix representing the first set of subnetworks
9397
#' @param subnet2 The matrix representing the second set of subnetworks

man/Corbi-package.Rd

+10-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/best_subnets.Rd

+5-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/extend_subnets.Rd

+8-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_subnets.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)