Commit a82acc88 authored by Raghvendra Mall's avatar Raghvendra Mall
Browse files

Regularized GBM for GRN - First Code

parents
No related merge requests found
Showing with 456 additions and 0 deletions
+456 -0
LICENSE 0 → 100644
This diff is collapsed.
README.md 0 → 100644
RGBM algorithm
=====
This is an implementation of RGBM algorithm for Gene Regulatory Network inference from gene/RNA/miRNA expression data, in form of a R package.
Requirements:
- R environment, the package was implemented and tested using R version 2.13.1.
- "foreach", "plyr" R packages installed. In order to install the packages go to R console, and type:
\>install.packages("foreach")
\>install.packages("plyr")
- g++ compiler and standard libraries.
Installation:
- Download and unpack the source code to the download folder.
- Install the package by invoking the following command in the installation folder, e.g. a folder containing README.md file, from command line:
$R CMD build RGBM && R CMD INSTALL RGBM
Usage:
- Once the R package is installed, please refer to the reference manual, e.g. inside R console type:
\>library(RGBM)
\>?RGBM
LICENSE
=====
Copyright (C) 2016 Raghvendra Mall
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program, see LICENSE.
^.*\.Rproj$
^\.Rproj\.user$
{
"args" : [
"-I/usr/lib/rstudio-server/resources/libclang/builtin-headers/3.5",
"-I/usr/lib/rstudio-server/resources/libclang/builtin-headers/libc++/3.5",
"-I/usr/share/R/include",
"-DNDEBUG",
"-fpic",
"-fstack-protector",
"-D_FORTIFY_SOURCE=2"
],
"hash" : "1479369927",
"is_cpp" : true,
"pch" : ""
}
\ No newline at end of file
[
{
"definitions" : [
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 2,
"line" : 27,
"name" : "Model",
"parent_name" : "",
"usr" : "c:@C@Model"
},
{
"column" : 9,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 44,
"name" : "getM",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getM#1"
},
{
"column" : 9,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 48,
"name" : "getP",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getP#1"
},
{
"column" : 9,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 52,
"name" : "getF0",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getF0#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 56,
"name" : "setF0(double)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setF0#d#"
},
{
"column" : 9,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 60,
"name" : "getNu",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getNu#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 64,
"name" : "setNu(double)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setNu#d#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 68,
"name" : "getGammaL(size_t)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getGammaL#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 72,
"name" : "setGammaL(size_t, double)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setGammaL#l#d#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 76,
"name" : "getGammaR(size_t)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getGammaR#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 80,
"name" : "setGammaR(size_t, double)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setGammaR#l#d#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 84,
"name" : "getFeatSplitI(size_t)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getFeatSplitI#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 88,
"name" : "setFeatSplitI(size_t, size_t)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setFeatSplitI#l#l#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 92,
"name" : "getFeatSplitT(size_t)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getFeatSplitT#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 96,
"name" : "setFeatSplitT(size_t, double)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setFeatSplitT#l#d#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 100,
"name" : "getImportance(size_t)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@getImportance#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"kind" : 7,
"line" : 104,
"name" : "setImportance(size_t, double)",
"parent_name" : "Model",
"usr" : "c:@C@Model@F@setImportance#l#d#"
}
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Model.h",
"file_last_write" : 1479371075
},
{
"definitions" : [
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"kind" : 2,
"line" : 27,
"name" : "Prediction",
"parent_name" : "",
"usr" : "c:@C@Prediction"
},
{
"column" : 9,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"kind" : 7,
"line" : 39,
"name" : "getM",
"parent_name" : "Prediction",
"usr" : "c:@C@Prediction@F@getM#1"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"kind" : 7,
"line" : 43,
"name" : "getLoss(size_t)",
"parent_name" : "Prediction",
"usr" : "c:@C@Prediction@F@getLoss#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"kind" : 7,
"line" : 47,
"name" : "setLoss(size_t, double)",
"parent_name" : "Prediction",
"usr" : "c:@C@Prediction@F@setLoss#l#d#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"kind" : 7,
"line" : 51,
"name" : "getPrediction(size_t)",
"parent_name" : "Prediction",
"usr" : "c:@C@Prediction@F@getPrediction#l#1"
},
{
"column" : 7,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"kind" : 7,
"line" : 55,
"name" : "setPrediction(size_t, double)",
"parent_name" : "Prediction",
"usr" : "c:@C@Prediction@F@setPrediction#l#d#"
}
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/Prediction.h",
"file_last_write" : 1479371109
},
{
"definitions" : [
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/regression_stump.h",
"file_last_write" : 1479371139
},
{
"definitions" : [
{
"column" : 5,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/solver_test.cpp",
"kind" : 6,
"line" : 30,
"name" : "main",
"parent_name" : "",
"usr" : "c:@F@main#"
}
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/solver_test.cpp",
"file_last_write" : 1479371167
},
{
"definitions" : [
{
"column" : 18,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/test_regression_stump.cpp",
"kind" : 6,
"line" : 23,
"name" : "test_regression_stump(const Model &, const int, const double *, const double *, const int)",
"parent_name" : "",
"usr" : "c:@F@test_regression_stump#&1$@C@Model#1I#*1d#S2_#1I#"
}
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/test_regression_stump.cpp",
"file_last_write" : 1479371213
},
{
"definitions" : [
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/test_regression_stump_R.cpp",
"file_last_write" : 1479371250
},
{
"definitions" : [
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump.cpp",
"kind" : 6,
"line" : 28,
"name" : "signnum_c(double)",
"parent_name" : "",
"usr" : "c:@F@signnum_c#d#"
},
{
"column" : 12,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump.cpp",
"kind" : 6,
"line" : 34,
"name" : "compvar(const void *, const void *)",
"parent_name" : "",
"usr" : "c:@F@compvar#*1v#S0_#"
},
{
"column" : 15,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump.cpp",
"kind" : 6,
"line" : 44,
"name" : "calculate_median(double *, int, int)",
"parent_name" : "",
"usr" : "c:@F@calculate_median#*d#I#I#"
},
{
"column" : 12,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump.cpp",
"kind" : 6,
"line" : 77,
"name" : "compare(const void *, const void *)",
"parent_name" : "",
"usr" : "c:@F@compare#*1v#S0_#"
},
{
"column" : 13,
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump.cpp",
"kind" : 6,
"line" : 87,
"name" : "train_regression_stump(const int, const int, const double *, const double *, const double, const double, const int, const int, const double)",
"parent_name" : "",
"usr" : "c:@F@train_regression_stump#1I#1I#*1d#S0_#1d#1d#1I#1I#1d#"
}
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump.cpp",
"file_last_write" : 1479371370
},
{
"definitions" : [
],
"file" : "/home/raghvendra/space/GRN_Inference/RGBM-master/RGBM/src/train_regression_stump_R.cpp",
"file_last_write" : 1479371396
}
]
\ No newline at end of file
{
"debugBreakpointsState" : {
"breakpoints" : [
]
}
}
\ No newline at end of file
{
"path" : "~/space/GRN_Inference/RGBM-master/RGBM",
"sortOrder" : [
{
"ascending" : true,
"columnIndex" : 2
}
]
}
\ No newline at end of file
{
"activeTab" : -1
}
\ No newline at end of file
{
"left" : {
"panelheight" : 611,
"splitterpos" : 272,
"topwindowstate" : "HIDE",
"windowheight" : 682
},
"right" : {
"panelheight" : 611,
"splitterpos" : 409,
"topwindowstate" : "NORMAL",
"windowheight" : 682
}
}
\ No newline at end of file
{
"TabSet1" : 2,
"TabSet2" : 0
}
\ No newline at end of file
abend="1"
active-client-id="f6988ce2-7238-46ab-8dae-3861c17b35ae"
build-last-errors="[]"
build-last-errors-base-dir="~/space/GRN_Inference/RGBM-master/RGBM/"
build-last-outputs="[{\"output\":\"==> R CMD INSTALL --no-multiarch --with-keep.source RGBM\\n\\n\",\"type\":0},{\"output\":\"* installing to library ‘/home/raghvendra/R/x86_64-pc-linux-gnu-library/3.3’\\n\",\"type\":1},{\"output\":\"* installing *source* package ‘RGBM’ ...\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"make: Nothing to be done for `all'.\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** libs\\n\",\"type\":1},{\"output\":\"installing to /home/raghvendra/R/x86_64-pc-linux-gnu-library/3.3/RGBM/libs\\n\",\"type\":1},{\"output\":\"** R\\n\",\"type\":1},{\"output\":\"** preparing package for lazy loading\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** help\\n\",\"type\":1},{\"output\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** building package indices\\n\",\"type\":1},{\"output\":\"** testing if installed package can be loaded\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* DONE (RGBM)\\n\",\"type\":1},{\"output\":\"\",\"type\":1}]"
compile_pdf_state="{\"errors\":[],\"output\":\"\",\"running\":false,\"tab_visible\":false,\"target_file\":\"\"}"
console_procs="[]"
files.monitored-path=""
find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":true,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOff\":[],\"matchOn\":[]},\"running\":false}"
imageDirtyState="0"
saveActionState="0"
{"active_set":"","sets":[]}
\ No newline at end of file
{
}
\ No newline at end of file
{
}
\ No newline at end of file
{
}
\ No newline at end of file
{
}
\ No newline at end of file
{
}
\ No newline at end of file
{
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment