Skip to content

Commit

Permalink
BLOBFISH Implementation (#321)
Browse files Browse the repository at this point in the history
* Added BLOBFISH

* Removed singleton genes in BLOBFISH output

* Added export statement to method for plotting networks

* Added the ability to highlight the 2-hop subnetwork

* Modified null distribution to include entire prior

* Moved the significance testing to the beginning and added FDR adjustment

* Moved calculation of p-values to a separate function

* Updated tests for BLOBFISH

* Added color-coding functionality to the plots

* Delete tests/testthat/test-blobfish.R

Deleted the test file as requested to see if we are able to build.

* Fixed devtools::check() warnings and notes

* First commit

* man/cobra.Rd

* Added tests back

* Fixed warnings in build

* Removed local import

* Added description of BLOBFISH to the README
  • Loading branch information
taraeicher committed Jun 28, 2024
1 parent f25eefd commit 2736933
Show file tree
Hide file tree
Showing 13 changed files with 1,312 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Imports:
GO.db,
org.Hs.eg.db,
Matrix,
matrixTests,
gplots,
nnet,
data.table,
Expand Down Expand Up @@ -95,6 +96,6 @@ Suggests:
dorothea
VignetteEngine: knitr
VignetteBuilder: knitr
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
BugReports: https://github.com/netZoo/netZooR/issues
URL: https://github.com/netZoo/netZooR, https://netzoo.github.io/
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Generated by roxygen2: do not edit by hand

export(CalculatePValues)
export(GenerateNullPANDADistribution)
export(PlotNetwork)
export(RunBLOBFISH)
export(adj2el)
export(adj2regulon)
export(alpaca)
Expand Down
642 changes: 642 additions & 0 deletions R/BLOBFISH.R

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ netZooR currently integrates:
<b>COBRA</b> (Co-expression Batch Reduction Adjustment) Micheletti, Schlauch et al. is method for correction of high-order batch effects such as those that persist in co-expression networks. Batch effects and other covariates are known to induce spurious associations in co-expression networks and confound differential gene expression analyses. These effects are corrected for using various methods prior to downstream analyses such as the inference of co-expression networks and computing differences between them. In differential co-expression analysis, the pairwise joint distribution of genes is considered rather than independently analyzing the distribution of expression levels for each individual gene. Computing co-expression matrices after standard batch correction on gene expression data is not sufficient to account for the possibility of batch-induced changes in the correlation between genes as existing batch correction methods act solely on the marginal distribution of each gene. Consequently, uncorrected, artifactual differential co-expression can skew the correlation structure such that network-based methods that use gene co-expression can produce false, nonbiological associations even using data corrected using standard batch correction. Co-expression Batch Reduction Adjustment (COBRA) addresses this question by computing a batch-corrected gene co-expression matrix based on estimating a conditional covariance matrix. COBRA estimates a reduced set of parameters that express the co-expression matrix as a function of the sample covariates and can be used to control for continuous and categorical covariates. The method is computationally fast and makes use of the inherently modular structure of genomic data to estimate accurate gene regulatory associations and enable functional analysis for high-dimensional genomic data.
</details>

<details>
<summary>BLOBFISH</summary>
<b>BLOBFISH</b> (Bipartite Limited Subnetworks from Multiple Observations using Breadth-First Search with Constrained Hops) Eicher et al. is a method to obtain a subnetwork connecting nodes of interest across observation-specific biological networks. Many biological networks are bipartite, such as expression quantitative trait loci (eQTL) networks, gene regulatory networks, and multi-omic partial correlation networks. However, the size of omics-scale bipartite networks can make them difficult to interpret as a whole; motivating the development of tools that evaluate connectivity between a subset of nodes. In addition, observation-specific networks (i.e., sample-specific or subject-specific networks) introduce the possibility of subsetting robust edges that are consistent across observations. BLOBFISH evaluates connectivity between a subset of nodes in a set of observation-specific bipartite networks by first finding significant edges across observations in comparison to a null distribution, and then using a breadth-first-search to uncover paths between seed nodes limited to a prespecified number of hops.
</details>

* Source protein-protein interaction network from [STRINGdb](https://string-db.org/) based on a list of protein of interest.

* Plot one PANDA network in [Cytoscape](https://cytoscape.org/).
Expand Down
54 changes: 54 additions & 0 deletions man/BuildSubnetwork.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions man/CalculatePValues.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions man/FindConnectionsForAllHopCounts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions man/FindSignificantEdgesForHop.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions man/GenerateNullPANDADistribution.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions man/PlotNetwork.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions man/RunBLOBFISH.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions man/SignificantBreadthFirstSearch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2736933

Please sign in to comment.