Learn R Programming

NFP: Network fingerprint analysis in R

This package implements the network fingerprint framework. A biomedical network is characterized as a spectrum-like vector called “network fingerprint”, which contains similarities to basic networks. This knowledge-based multidimensional characterization provides a more intuitive way to decipher molecular networks, especially for large-scale network comparisons and clustering analyses

Prerequisites

NFP is free available on CRAN. To install NFP, please note especially two depencies of NFP, graph and KEGGgraph are only available from Bioconductor. Appanrantly, function install.packages can not insall Biocondutor packages. There is a function install, a wrapper around install.packages provided by Bioconductor, can be used to install both CRAN and Bioconductor packages simply. Thus, users can install NFP install the latest released version directly as flowing:

if (!requireNamespace("BiocManager"))
    install.packages("BiocManager")
BiocManager::install("NFP")

or install the Bioconductor dependencies package first:

BiocManager::install(c("graph","KEGGgraph"))
install.packages("NFP")

It also allows users to install the latest development version from github, which requires devtools package has been installed on your system (or can be installed using install.packages("devtools")). Note that devtools sometimes needs some extra non-R software on your system -- more specifically, an Rtools download for Windows or Xcode for OS X. There's more information about devtools here.

## install NFP from github, require biocondutor dependencies package pre-installed
if (!require(devtools) 
  install.packages("devtools") 
devtools::install_github("yiluheihei/NFP") 

After installation, you can load NFP into current workspace by typing or pasting the following codes:

library("NFP")

Moreover, gene similarity data used in our NFP package is stored in a external data repository NFPdata for the large size (about 16 MB). More details on how to construct External Data Repositories using the Additional_repositories field see The Coatless Professor blog post. Thus, users must install the NFPdata before the networkfinger print analyis as following code.

if (!require("NFPdata")) {
    install_data_package()
}

Contributing

For very simple changes such as fixing typos, you can just edit the file by clicking the button Edit. For more complicated changes, you will have to manually create a pull request after forking this repository.

License

NFP is a free and open source software, licensed under GPL 2.0.

Reference

Cui X, He H, He F, et al. Network fingerprint: a knowledge-based characterization of biomedical networks. Scientific reports, 2015, 5.

Copy Link

Version

Install

install.packages('NFP')

Monthly Downloads

53

Version

0.99.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Yang Cao

Last Published

October 14th, 2019

Functions in NFP (0.99.3)

show,NFP-method

The show generic function
calc_sim_score

Calculating the similarity scores
plot_NFP-methods

Plot NFP results
perm_score-methods

Extract the randomized similarity score
plot_NFPlist

Plot multiple NFPs.
refnet_name-methods

Names of basic networks
show,NFPRefnet-method

Show an Object
subnet-methods

Subset the basic networks
sub_NFP-methods

subset of NFP object
cluster_info-methods

Extract the cluster information of NFP.
install_data_package

Install NFP data package NFPdata
NFP

The NFP package
NFPRefnet-class

NFPRefnet-class
net-methods

Basic networks of NFPRefnet class
NFP-class

NFP-class
load_KEGG_refnet

Load the the reference molecular networks
group-methods

Group information of NFPRefnet
kegg_refnet

Human KEGG signal pathway maps