blob: 1826427305cae6f3aee82ef32c3dc49492bd789b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
|