Skip to content

Commit

Permalink
Licensed under GPLv3
Browse files Browse the repository at this point in the history
  • Loading branch information
gabraham committed Dec 18, 2012
1 parent fc98788 commit 36eb37d
Show file tree
Hide file tree
Showing 55 changed files with 422 additions and 352 deletions.
147 changes: 0 additions & 147 deletions 00README.txt

This file was deleted.

26 changes: 0 additions & 26 deletions 01LICENSE

This file was deleted.

20 changes: 19 additions & 1 deletion README.md
Expand Up @@ -24,7 +24,25 @@ memory-efficient analysis of all SNPs for phenotype prediction'', BMC
Bioinformatics,
2012, 13:88, [doi:10.1186/1471-2105-13-88](http://www.biomedcentral.com/1471-2105/13/88/)

Copyright (C), Gad Abraham and National ICT Australia (2011-2012), All Rights Reserved.
License
-------

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
(at your option) any later version.

Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
All rights reserved.

Requirements
------------

For the post-analysis scripts: R packages ggplot2 >=0.9.3, scales, grid, abind, ROCR

A 64-bit operating system is recommended; we have tested SparSNP on 64-bit
OSX and Linux.


Quick Start
-----------
Expand Down
7 changes: 6 additions & 1 deletion cbind.c
@@ -1,5 +1,10 @@
/*
* Copyright (c) 2011, National ICT Australia (NICTA)
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

Expand Down
7 changes: 6 additions & 1 deletion coder.c
@@ -1,5 +1,10 @@
/*
* Copyright (c) 2011, National ICT Australia (NICTA)
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

Expand Down
9 changes: 9 additions & 0 deletions coder.h
@@ -1,3 +1,12 @@
/*
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

#define PACK_DENSITY 4

Expand Down
7 changes: 6 additions & 1 deletion common.c
@@ -1,5 +1,10 @@
/*
* Copyright (c) 2011, National ICT Australia (NICTA)
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

Expand Down
7 changes: 6 additions & 1 deletion common.h
@@ -1,5 +1,10 @@
/*
* Copyright (c) 2011, National ICT Australia (NICTA)
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

Expand Down
7 changes: 6 additions & 1 deletion covtest.c
@@ -1,5 +1,10 @@
/*
* Copyright (c) 2011, National ICT Australia (NICTA)
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

Expand Down
10 changes: 10 additions & 0 deletions crossval.sh
@@ -1,5 +1,15 @@
#!/bin/bash

#
# 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
# (at your option) any later version.
#
# Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
# All rights reserved.
#

set -e

if [ -z "$1" ] || [ -z "$2" ];
Expand Down
10 changes: 10 additions & 0 deletions crossvaluni.sh
@@ -1,5 +1,15 @@
#!/bin/bash

#
# 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
# (at your option) any later version.
#
# Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
# All rights reserved.
#

# This script MUST be called after crossval.sh has been called

set -e
Expand Down
10 changes: 10 additions & 0 deletions eval.R
@@ -1,5 +1,15 @@
#!/usr/bin/env Rscript

#
# 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
# (at your option) any later version.
#
# Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
# All rights reserved.
#

usage <- paste("usage: eval.R [title=<title>]",
"[prev=<K>] [h2l=<V>] [mode=discovery|validation]",
"(prev must be specified if h2l is specified)")
Expand Down
11 changes: 11 additions & 0 deletions evalprofile.R
@@ -1,6 +1,17 @@
#!/usr/bin/env Rscript

#
# 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
# (at your option) any later version.
#
# Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
# All rights reserved.
#

usage <- paste("usage: evalprofile.R",
"model=<MODEL>",
"[prev=<PREVALENCE>]",
"[name=results]",
"[indir=discovery]",
Expand Down
10 changes: 10 additions & 0 deletions gennetwork.c
@@ -1,3 +1,13 @@
/*
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

#include <math.h>
#include <stdio.h>

Expand Down
9 changes: 9 additions & 0 deletions gennetwork.h
@@ -1,3 +1,12 @@
/*
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

#define CORTYPE_IND 0
#define CORTYPE_ABS 1
Expand Down
10 changes: 10 additions & 0 deletions gennetwork_test.R
@@ -1,4 +1,14 @@

#
# 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
# (at your option) any later version.
#
# Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
# All rights reserved.
#

set.seed(2879)

Y <- round(matrix(rnorm(20 * 5), 20, 5), 2)
Expand Down
10 changes: 10 additions & 0 deletions gennetwork_test.c
@@ -1,3 +1,13 @@
/*
* 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
* (at your option) any later version.
*
* Copyright (C) 2011-2012 Gad Abraham and National ICT Australia (NICTA).
* All rights reserved.
*/

#include <stdlib.h>
#include <stdio.h>

Expand Down

0 comments on commit 36eb37d

Please sign in to comment.