From 0773aaf89678b967588a902df1f5e6f9ccea393d Mon Sep 17 00:00:00 2001 From: Calvin Date: Tue, 14 May 2013 21:51:40 -0400 Subject: release1.0 --- src/c/quikr_functions.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/c/quikr_functions.h (limited to 'src/c/quikr_functions.h') 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); -- cgit v1.2.3