Skip to content

Commit

Permalink
First import of the package
Browse files Browse the repository at this point in the history
  • Loading branch information
sgubianpm committed Sep 4, 2018
1 parent 0f2bc3a commit 3fb7302
Show file tree
Hide file tree
Showing 41 changed files with 888 additions and 0 deletions.
43 changes: 43 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Package: NPAModels
Title: Contains utils for loading and manipulating two-layers structure
network models
Version: 0.99.0
Depends:
R (>= 3.4.3),
R6
Author: Florian Martin <[email protected]>, Sylvain Gubian
<[email protected]>, Marja Talikka <[email protected]>,
Justyna Szostak<[email protected]>
Maintainer: Sylvain Gubian <[email protected]>
Description: Networks data and Suite of tools to load biological networks.
License: file LICENSE
Encoding: UTF-8
LazyData: false
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2018-04-11 19:10:40 UTC; sgubian
Collate:
'Hs__CFA__Apoptosis__0__0__1.R'
'Hs__CPR__Cell_Cycle__0__0__1.R'
'Hs__CST__Oxydative_Stress__0__0__1.R'
'Hs__CST__Xenobiotic_Metabolism_Response__0__0__1.R'
'Hs__IPN__Epithelial_Innate_Immune_Activation__0__0__1.R'
'Hs__IPN__Neutrophil_Signaling__0__0__1.R'
'Hs__TRA__ECM_Degradation__0__0__1.R'
'Mm__CFA__Apoptosis__0__0__1.R'
'Mm__CPR__Cell_Cycle__0__0__1.R'
'Mm__CST__Oxydative_Stress__0__0__1.R'
'Mm__CST__Xenobiotic_Metabolism_Response__0__0__1.R'
'Mm__IPN__Epithelial_Innate_Immune_Activation__0__0__1.R'
'Mm__IPN__Neutrophil_Signaling__0__0__1.R'
'Mm__TRA__ECM_Degradation__0__0__1.R'
'NPAModel.R'
'getLQ.R'
'utils.R'
'load_model.R'
'minimizeNetwork.R'
'preprocessNetwork.R'
'zzz.R'
Suggests: knitr,
rmarkdown
VignetteBuilder: knitr
87 changes: 87 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
NPA Non-Commercial and Academic Software License Terms
======================================================

IMPORTANT NOTE: These NPAModels Non-Commercial and Academic Software License Terms only permit the use of the LICENSED MATERIALS for NON-COMMERCIAL PURPOSES, as set forth herein. Any person who wishes to make any use of the LICENSED MATERIALS for any purpose other than for NON-COMMERCIAL PURPOSES must not do so under this present AGREEMENT, but will need to obtain from LICENSOR under a separate agreement and against payment of a license fee the right to use the LICENSED MATERIALS for such purposes. In order to obtain such license for commercial purposes, contact LICENSOR under [email protected]. For the avoidance of doubt, nothing in this AGREEMENT shall be construed as an obligation of LICENSOR to enter into such agreement or to grant such license.

Preamble
--------

A. Philip Morris Products S.A. ("LICENSOR") has developed software called NPAModels, which is Network Perturbation Ampliture biological models (including any modifications as may be made available by LICENSOR during the TERM, the "SOFTWARE"). The SOFTWARE is available in source code form for download in the Bioconductor repository (https://www.bioconductor.org/) for use in the R environment.

B. In order to support certain non-commercial and academic activities, LICENSOR is willing to license the SOFTWARE, along with certain other materials, to LICENSEE under these NPAModels Non-Commercial and Academic Software License Terms (the "AGREEMENT"), subject to the terms and conditions of this AGREEMENT, free of charge and against no consideration for NON-COMMERCIAL PURPOSES only.

Now, therefore, LICENSOR and LICENSEE (each a "PARTY" and collectively the "PARTIES") agree as follows:

1. Definitions
--------------

Capitalized terms used in this AGREEMENT shall have the meanings assigned to them next to where the term is printed in quotation marks and in capital letters in the body of this AGREEMENT. In addition, the following terms shall have the meaning defined in this Article 1:

"COMMERCIAL PURPOSE" shall be any purpose that is not a NON-COMMERCIAL PURPOSE.

"DOCUMENTATION" shall mean any materials, in electronic or written form, of LICENSOR made available to LICENSEE during the TERM relating to the SOFTWARE, including, without limitation, user guides, tutorial and other instruction materials made available by LICENSOR.

"LICENSED MATERIALS" shall mean the SOFTWARE, the SAMPLE DATA and the DOCUMENTATION as well as any further material or information, or any part thereof, made available by LICENSOR during the TERM under or in relation to this AGREEMENT.

"LICENSEE" shall mean either (i) the legal entity on whose behalf (either by its employees, directors or officers) the SOFTWARE is downloaded and/or installed and/or by whom the rights granted under this AGREEMENT are exercised, or, if LICENSEE is not a legal entity as in (i), (ii) the individual who downloads and/or installs the SOFTWARE and/or who exercises the rights granted under this AGREEMENT.

"LICENSEE DATA" shall mean (i) any of LICENSEE'S own data that LICENSEE feeds into or processes using the SOFTWARE, and (ii) any data that are the output of the processing of LICENSEE DATA by the SOFTWARE. For the avoidance of doubt, LICENSEE DATA shall not include any data included in the SOFTWARE code, in the SAMPLE DATA or that is otherwise made available by LICENSOR to LICENSEE.

"NON-COMMERCIAL PURPOSES" shall mean purposes which do neither directly nor indirectly serve any commercial purposes of LICENSEE and/or of any third party. Internal academic and internal research purposes of LICENSEE, as well as non-commercial uses for governmental purposes by a LICENSEE who is a governmental authority, shall be deemed NON-COMMERCIAL PURPOSES, provided in each case that they are not carried out with the aim of obtaining, directly or indirectly, a financial benefit for LICENSEE or a third party. For the avoid-ance of doubt, any use of the SOFTWARE for or on behalf of any third party (e.g., such as for providing any kind of services or work product, whether for commercial purposes or otherwise, to third parties, which involve, in their provision or preparation, any use of the SOFTWARE) shall be deemed to serve COMMERCIAL PURPOSES.

"SAMPLE DATA" shall mean sample data that is made available by LICENSOR together with or in relation to the SOFTWARE for the purpose of testing and documenting the algorithm.

2. Parties and Execution of the AGREEMENT
-----------------------------------------

By downloading and/or installing the SOFTWARE, and/or by exercising any of the rights granted under this AGREEMENT, LICENSEE acknowledges and agrees to the terms and conditions of, and to be bound by, this AGREEMENT and that the AGREEMENT shall be a valid and enforceable agreement between LICENSOR and LICENSEE.

3. License Grant and Limitations
--------------------------------

(a) Subject to the restrictions and limitations set forth in Article 3(b) and all other terms and conditions of this AGREEMENT, LICENSOR hereby grants to LICENSEE and LICENSEE hereby accepts a non-exclusive, non-transferable, non-sublicensable, royalty free license during the term of this AGREEMENT (i) to install, use and modify the SOFTWARE on LI-CENSEE's systems for own NON-COMMERCIAL PURPOSES of LICENSEE and to (ii) use the DOCUMENTATION and the SAMPLE DATA for own NON-COMMERCIAL PUR-POSES of LICENSEE, all in accordance with this AGREEMENT and the instructions in-cluded in the DOCUMENTATION.

(b) The license grant under Article 3(a) shall not include any rights other than those expressly set forth in Article 3(a) and it shall in particular and without limitation to the generality of the foregoing exclude the right (i) to make any use of the LICENSED MATERIALS that is not for own NON-COMMERCIAL PURPOSES of LICENSEE or that is not the intended use of the LICENSED MATERIALS as provided for in the DOCUMENTATION and the standard functionalities of the SOFTWARE; (ii) to make any use of the LICENSED MATERIALS in a clinical diagnostic setting, to provide a diagnostic service or product, or to otherwise use the LICENSED MATERIALS for clinical diagnostic purposes; (iii) to make the LI-CENSED MATERIALS, or any part, modification or derivative work thereof, whether in source code or object code form, available to any third party (other than to LICENSEE'S own employees, directors and officers on a need-to-know basis in accordance with this AGREEMENT); and (iv) to remove or alter any copyright notice or other proprietary rights notices placed on or embedded in the LICENSED MATERIALS or any part thereof. Fur-ther, Licensee shall not make any unlawful use of the LICENSED MATERIALS.

4. Intellectual Property Rights
-------------------------------

(a) Each PARTY shall retain all rights to all intellectual property owned by such PARTY as of the execution of this AGREEMENT or thereafter acquired independently of the other PARTY. This AGREEMENT shall not transfer or assign any intellectual property rights from either PARTY to the other.

(b) LICENSEE shall own and retain title to all intellectual property rights that may exist in any of the LICENSEE DATA. LICENSEE acknowledges and agrees that it shall itself be re-sponsible for and assume the risk of the accuracy, integrity and legality of LICENSEE DATA and of the means by which LICENSEE acquires and processes LICENSEE DATA.

(c) LICENSEE acknowledges that LICENSOR and, as the case may be, certain third parties own and shall retain all intellectual property rights that may exist in the LICENSED MATERIALS, including without limitation any derivative work, improvements or modifications of any of the foregoing made by or on behalf of LICENSOR, alone or together with others.

(d) The right to any modification to the SOFTWARE made by a PARTY independent of the other PARTY during the TERM shall vest in the PARTY that created such modification. LICENSEE hereby grants to LICENSOR a fully paid-up, irrevocable, perpetual, transfera-ble, sublicensable, worldwide, non-exclusive license to use, further modify and exploit any modification to the SOFTWARE made or conceived by or on behalf of LICENSEE for any of LICENSOR'S purposes. LICENSEE shall inform LICENSOR under [email protected] without undue delay of any modification to the SOFTWARE made by or on behalf of LICENSEE.

5. No Warranty, Exclusion and Limitation of Liability
-----------------------------------------------------

(a) LICENSEE acknowledges and agrees that the LICENSED MATERIALS are provided to LICENSEE as-is, without any representation or warranty, and the PARTIES hereby agree that any express or implied representation, warranty or indemnification obligation, includ-ing, without limitation, any implied representation or warranty of merchantability, fitness for a particular purpose or non-infringement is hereby expressly excluded to the maxi-mum extent permitted by applicable law.

(b) To the maximum extent permitted by applicable law, LICENSOR shall not be liable to LICENSEE under any legal theory (whether under contract, tort or otherwise) for any direct or indirect damage, claim, loss, lost profits, loss of business, loss of use, lost savings or other consequential, special, incidental, exemplary or punitive damages.

6. Term and Termination
-----------------------

(a) This AGREEMENT shall enter into force upon LICENSEE downloading and/or installing the SOFTWARE and/or exercising the rights granted under this AGREEMENT. It shall re-main in force as long as LICENSEE retains and/or uses any copy of the LICENSED MATERIALS or until terminated as set forth in the following of this Article 6.

(b) If LICENSEE fails to comply with any of the terms of this AGREEMENT, this AGREE-MENT and all rights granted to LICENSEE under this AGREEMENT terminate automatically with immediate effect. Further, the AGREEMENT will terminate automatically upon LICENSEE deleting all copies of the LICENSED MATERIALS and ceasing any further use thereof.

(c) Upon termination of this AGREEMENT, LICENSEE shall immediately cease any further use of the LICENSED MATERIALS and permanently delete the LICENSED MATERIALS from all of LICENSEE'S systems (excluding backup media and systems of LICENSEE's data created in the ordinary course of business that are retained exclusively for backup purposes) without retaining any further copy thereof.

7. General Provisions
---------------------

(a) Other than as expressly set forth in this AGREEMENT, no person other than the PAR-TIES shall have any rights or benefits under this AGREEMENT, and nothing in this AGREEMENT is intended to confer on any person other than the PARTIES any rights, benefits or remedies.

(b) This AGREEMENT constitutes the entire agreement and understanding among the PAR-TIES with respect to the subject matter hereof, and shall supersede all prior oral, written or other agreements or understandings of the PARTIES relating hereto.

(c) Should any part or provision of this AGREEMENT be held to be invalid or unenforceable by any competent arbitral tribunal, court, governmental or administrative authority having jurisdiction, the other provisions of this AGREEMENT shall nonetheless remain valid.

8. Governing Law and Place of Jurisdiction
------------------------------------------

(a) This AGREEMENT shall be governed by and construed in accordance with the substan-tive laws of Switzerland, with the exclusion of the Vienna Convention on the International Sale of Goods dated April 11, 1980.

(b) The exclusive place of jurisdiction for any dispute, claim or controversy arising under, out of or in connection with or related to the Agreement (or subsequent amendments thereof), including, without limitation, disputes, claims or controversies regarding its existence, validity, interpretation, performance, breach or termination, shall be the city of Zurich, Switzerland.
11 changes: 11 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated by roxygen2: do not edit by hand

export(NPAModel)
export(list_data)
export(list_families)
export(list_models)
export(load_model)
export(load_models)
export(preprocessNetworks)
importFrom(R6,R6Class)
importFrom(tools,file_path_sans_ext)
11 changes: 11 additions & 0 deletions R/Hs__CFA__Apoptosis__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Apoptosis Network for Homo sapiens
#'
#' @name Hs__CFA__Apoptosis__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Hs__CPR__Cell_Cycle__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Cell Cycle network for Homo sapiens
#'
#' @name Hs__CPR__Cell_Cycle__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Hs__CST__Oxydative_Stress__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Oxydative Stress network for Homo sapiens
#'
#' @name Hs__CST__Oxydative_Stress__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Hs__CST__Xenobiotic_Metabolism_Response__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Xenobiotic Metabolism Response for Homo sapiens
#'
#' @name Hs__CST__Xenobiotic_Metabolism_Response__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Hs__IPN__Epithelial_Innate_Immune_Activation__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Epithelial Innate Immune Activation network for Homo sapiens
#'
#' @name Hs__IPN__Epithelial_Innate_Immune_Activation__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Hs__IPN__Neutrophil_Signaling__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Neutrophil Signaling network for Homo sapiens
#'
#' @name Hs__IPN__Neutrophil_Signaling__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Hs__TRA__ECM_Degradation__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' ECM Degradation network for Homo sapiens
#'
#' @name Hs__TRA__ECM_Degradation__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__CFA__Apoptosis__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Apoptosis Network for Mus musculus
#'
#' @name Mm__CFA__Apoptosis__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__CPR__Cell_Cycle__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Cell Cycle network for Mus musculus
#'
#' @name Mm__CPR__Cell_Cycle__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__CST__Oxydative_Stress__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Oxydative Stress network for Mus musculus
#'
#' @name Mm__CST__Oxydative_Stress__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__CST__Xenobiotic_Metabolism_Response__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Xenobiotic Metabolism Response for Mus musculus
#'
#' @name Mm__CST__Xenobiotic_Metabolism_Response__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__IPN__Epithelial_Innate_Immune_Activation__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Epithelial Innate Immune Activation network for Mus musculus
#'
#' @name Mm__IPN__Epithelial_Innate_Immune_Activation__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__IPN__Neutrophil_Signaling__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' Neutrophil Signaling network for Mus musculus
#'
#' @name Mm__IPN__Neutrophil_Signaling__0__0__1.rda
#' @docType data
#' @keywords data
NULL
11 changes: 11 additions & 0 deletions R/Mm__TRA__ECM_Degradation__0__0__1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#####################################################################
## Copyright 2018 Philip Morris Products, S.A.
## Quai Jeanrenaud 5, 2000 Neuchatel, Switzerland
#####################################################################

#' ECM Degradation network for Mus musculus
#'
#' @name Mm__TRA__ECM_Degradation__0__0__1.rda
#' @docType data
#' @keywords data
NULL
Loading

0 comments on commit 3fb7302

Please sign in to comment.