diff options
author | Calvin <calvin@EESI> | 2013-05-14 21:51:40 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-05-14 21:51:40 -0400 |
commit | 0773aaf89678b967588a902df1f5e6f9ccea393d (patch) | |
tree | 40762e5df1da876d460d8695357ab0835645e8c6 /src/c/quikr_functions.h | |
parent | 1d2becc9af591d37badfe0e77751bbb80932472f (diff) |
release1.0
Diffstat (limited to 'src/c/quikr_functions.h')
-rw-r--r-- | src/c/quikr_functions.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/c/quikr_functions.h b/src/c/quikr_functions.h new file mode 100644 index 0000000..1826427 --- /dev/null +++ b/src/c/quikr_functions.h @@ -0,0 +1,14 @@ +// count the sequences in a fasta file +int count_sequences(char *filename); + +// normalize a matrix by dividing each element by the sum of it's column +void normalize_matrix(double *matrix, int height, int width); + +// load a sensing matrix +double *load_sensing_matrix(char *filename, int height, int width); + +// load a count matrix +double *load_count_matrix(char *filename, int width, int kmer); + +// load headers +char **load_headers(char *filename, int sequences); |