diff options
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); |