A | |
| add [BC_Cont.StringMap] | |
| add [BC_CharFreq.CharMap] | |
| append [BC_List] | |
| append [BC_Array] | |
| arg_m [BC_List] | arg_m cmp f l
return the element (and value) which gives the minimum value
for the result of applying f with respect to cmp
where cmp x y should return 0 if x and y are equal,
-1 if x < y and 1 otherwise.
|
| arg_m [BC_Array] | arg_m cmp arr
return the element number with the minimum value with respect to cmp.
|
| arg_max [BC_Utils] | arg_max f x y
compares f x and f y and gives the
argument: x or y which gives Pervasives.max (f x) (f y)
|
| arg_max [BC_List] |
return the element (and value) which gives the maximum value
for the result of applying a function.
|
| arg_max [BC_Array] |
return the element number with the maximum value.
|
| arg_min [BC_Utils] | arg_min f x y
compares f x and f y and gives the
argument: x or y which gives Pervasives.min (f x) (f y)
|
| arg_min [BC_List] |
return the element (and value) which gives the minimum value
for the result of applying a function.
|
| arg_min [BC_Array] |
return the element number with the minimum value.
|
| arg_sort [BC_Array] | argsort comp a returns an array consisting of indices of a sorted array a.
|
| array_mean_aux [BC_Stats] |
auxiliary function for array mean
array -> initial value of sum, addition function,
division function (always divide by a float value)
|
| array_median [BC_Stats] |
returns the median, w/ respect to compare, of an array
|
| array_median_aux [BC_Stats] |
returns the median, w/ respect to a comparison function, of an array
|
| array_sum_aux [BC_Stats] |
sum for array
|
| assoc [BC_List] | |
| assq [BC_List] | |
| astrstr_get_all_hit [BC_StrMatch] |
Return match matrix
mismatch_allowance -> text -> pattern -> match matrix of patterns in the string
|
| astrstr_match [BC_StrMatch] |
mismatch_allowance -> text -> pattern -> bool
|
| astrstr_mismatch_table [BC_StrMatch] |
Return match matrix
mismatch_type -> text -> pattern -> min_mismatch table
|
| astrstr_path [BC_StrMatch] |
mismatch_type -> text -> pattern ->
minimum mismatch * (text_beginx, textend, pat_beginy)
text_begnix: a value from 0 to String.length text (inclusive)
where in the text the match starts (text starts from 1)
a 0 means that the first (few) letters of the pattern
were deleted so that the suffix of the pattern matches
the prefix of the test.
pat_beginy: either 0 or 1. a 0 means that the first letter
of the pattern was deleted when matching from text_beginx.
1 means otherwise. note that this value and text_beginx cannot
be 0 at the same time.
|
B | |
| bdt_to_string [BC_BDTree] |
convert a boolean tree to a string.
|
| bdtree [BC_BDTree] | bdtree spec matcher creates a function for classification.
|
| bern [BC_Stats] | bern p is the function same as bernoulli p.
|
| bernoulli [BC_Stats] | bernoulli p returns a random integer value either 0 or 1, that has Bernoulli
distribution with success probablitiy p.
|
| bessel_i [Rmath] | |
| bessel_j [Rmath] | |
| bessel_k [Rmath] | |
| bessel_y [Rmath] | |
| beta [Rmath] | |
| binary_id3 [BC_BDTree] |
ID3 algorithm (Quinlan, 19??) for binary classes.
|
| binomial [BC_Stats] | binomial n p returns a random integer value that has Binomial distrituion with
index n and success probability p.
|
| blit [BC_String] | |
| blit [BC_Array] | |
C | |
| capitalize [BC_String] | |
| cdawg [BC_StrMatch] |
creates a CDAWG from a string.
|
| choose [Rmath] | |
| chr [BC_Char] | |
| classify [BC_Clustering.MakeKMeans] | |
| close_in [BC_IO] |
close the file
|
| code [BC_Char] | |
| combination [BC_List] | combination lst k generates all combinations consisting of k elements in lst,
and return them as a list.
|
| combine [BC_List] | |
| combine [BC_CharFreq] |
Combine two frequences
|
| combine [BC_Array] |
array version of
List.combine.
|
| comp_to_dna [BC_NA] |
Return a fresh string that has been mapped with
BC_NA.comp_to_dna_char
|
| comp_to_dna_char [BC_NA] |
Return the complement base.
|
| comp_to_rna [BC_NA] |
Return a fresh string that has been mapped with
BC_NA.comp_to_rna_char
|
| comp_to_rna_char [BC_NA] |
Return the complement base.
|
| compare [BC_Cont.OrderedType] | |
| compare [BC_Char] | |
| complement_ambiguous_str [BC_DNA] |
return the DNA reverse complement for ambiguous DNA
|
| complement_str [BC_DNA] |
return the DNA reverse complement
|
| concat [BC_String] | |
| concat [BC_List] | |
| concat [BC_Array] | |
| contains [BC_String] | |
| contains_from [BC_String] | |
| conv [BC_Indexing] |
convert a string according to an indexing
|
| conv_c2i [BC_Char] |
Convert a character to integer using the conversion table.
|
| conv_i2c [BC_Char] |
Convert an integer to a character.
|
| convfunc_of_ind [BC_Indexing] |
return function: char -> char corresponding to the indexing
|
| copy [BC_String] | |
| copy [BC_Array] | |
| count [BC_List] | count p lst counts elements in list lst which satisfy predicate p
|
| count [BC_Array] |
count elements in array which satisfy predicate p
|
| count_string [BC_CharFreq] |
Return the frequency count in a given string.
|
| create [BC_String] | |
| create [BC_Indexing] |
create a indexing with indexing alphabet size,
and list of classifications
e.g:
create 2 [("ab", 0); ("def", 1)]
creates a indexing of indexing alphabet size 2 which maps "ab" to
0, and "def" to 1, and other characters to 2.
|
| create [BC_Array] | |
| create_matrix [BC_Array] | |
| create_random [BC_Indexing] |
create a random indexing from alphabet and indexing size
string should contain letters of the original alphabet
indexing size greater than 0 and less than 10, otherwise
raises Invalid_argument
|
| cross_sample [BC_Random] | cross_sample k n
randomly divides the set : {0, 1, ..., n-1} into k sets
(s_{0} ..
|
| cross_sample_list [BC_Random] | cross_sample_list k l
randomly divides the list l into k lists (s_{0} ..
|
| cross_validate [BC_Learning] | cross_validate k data sampler learner evaluator
runs a k-cross validation on the data.
|
D | |
| dasg [BC_StrMatch] |
text -> DASG
|
| dasg_aux [BC_StrMatch] |
alphabet -> character map -> text -> DASG
|
| dasg_match [BC_StrMatch] |
DASG -> pattern -> bool
|
| dasg_of_edasg [BC_StrMatch] |
conversion of EDASG to DASG
|
| dbeta [Rmath] | |
| dbinom [Rmath] | |
| dcauchy [Rmath] | |
| dchisq [Rmath] | |
| deleteMin [BC_Cont.LeftistHeap] | |
| delimit_eval [BC_Utils] | delimit_eval outch before after f
evaluates function: f () and returns its results.
|
| dexp [Rmath] | |
| df [Rmath] | |
| dgamma [Rmath] | |
| dgeom [Rmath] | |
| dhyper [Rmath] | |
| diff [BC_List] | diff lst1 lst2 returns new list containing all elements in lst1 but not in lst2.
|
| diff [BC_CharFreq] |
Subtract two frequencies
|
| digamma [Rmath] | |
| distance_matrix [BC_Clustering.MakeCommonFunc] | |
| distf [BC_Clustering.KMEANSDISTsig] | |
| distf [BC_Clustering.DISTsig] | |
| dlnorm [Rmath] | |
| dlogis [Rmath] | |
| dna_to_int [BC_DNA] | dna_to_int ch converts a DNA character into a correspoinding integer value.
|
| dnbeta [Rmath] | |
| dnbinom [Rmath] | |
| dnorm [Rmath] | |
| dpois [Rmath] | |
| dsignrank [Rmath] | |
| dt [Rmath] | |
| dunif [Rmath] | |
| dweibull [Rmath] | |
| dwilcox [Rmath] | |
E | |
| edasg [BC_StrMatch] |
text -> EDASG
|
| edasg_aux [BC_StrMatch] |
alphabet character map -> text -> EDASG
|
| edasg_match [BC_StrMatch] |
threshold -> text(EDASG) -> if match length was less than threshold
|
| edasg_mint [BC_StrMatch] |
text(EDASG) -> pattern -> minimum threshold for match
|
| edasg_to_dasag [BC_StrMatch] |
conversion of EDASG to DASG
|
| empty [BC_Cont.LeftistHeap] | |
| empty [BC_Cont.StringMap] | |
| empty [BC_CharFreq.CharMap] | |
| entropy_gain [BC_BDTree] |
entropy gain score function: for ID3
|
| episode [BC_StrMatch] |
text -> pattern -> minimum size window threshold
|
| episode_match [BC_StrMatch] |
threshold -> text -> pattern -> minwindow > threshold?
|
| escaped [BC_String] | |
| escaped [BC_Char] | |
| exists [BC_List] | |
| exists [BC_Array] | exists p a returns true if at least one element of array a
satisfies the predicate p, and false otherwise.
|
| exists2 [BC_List] | |
| exp_rand [Rmath] | |
| extract [BC_Cont.LeftistHeap] | |
F | |
| fill [BC_String] | |
| fill [BC_Array] | |
| filter [BC_String] |
filter f str returns a new string whose characters return true with respect
to f : char -> bool
|
| filter [BC_Stream] |
a filter on a stream.
|
| filter [BC_List] | |
| find [BC_String] | find str pat pos searches string pat in str, then return the
position at which pat is found.
|
| find [BC_List] | |
| find [BC_Cont.DisjSet] | |
| find [BC_Cont.StringMap] | |
| find [BC_CharFreq.CharMap] | |
| findMin [BC_Cont.LeftistHeap] | |
| find_all [BC_List] | |
| find_best_mint [BC_StrMatch] |
finds the best threshold for a given string, for dividing two sets
of strings with episode matching, according to some score function.
|
| find_best_mismatch [BC_StrMatch] |
finds the best mismatch for a given string, for dividing two sets
of strings according to some score function.
|
| find_bestpat [BC_StrMatch] |
branch-bound algorithm for finding best pattern two divide two lists with
pattern based on strings
'a: type of text1
'b: type of text2
'c: type of pattern
a pattern is some data type which is based on a string.
(e.g.: Approximate pattern: (mismatch,string))
pd : positive data nd: negative data
alph: a string containing all characters of the alphabet to generate patterns from
maxlen: maximum length of pattern
scoref: score function which calculates a score (float) and is given arguments:
let pdy: the list of elements of pd, which matches with matcher
let ndy: the list of elements of pd, which matches with matcher
the length of lists in order: pd nd pdy ndy.
A higher score is judged to be better.
comppat: comparison function for a pattern, used in case the score is the same (e.g. shorter patterns are better)
copypat: copy function for a pattern (it should copy any non-persistent data types contained (e.g.: String.copy))
makepat: a function which takes a string and makes the best pattern which distinguishes the given texts. returns (pdmatchcount, ndmatchcount, score, pattern)
|
| flatten [BC_List] | |
| float [BC_Random] |
returns a random floating-point number
between 0 (inclusive) and `bound' (exclusive).
|
| float_array_mean [BC_Stats] |
average of an array of floats
|
| float_array_sum [BC_Stats] |
sum of an array of floats
|
| float_array_variance [BC_Stats] |
the variance of values in the array.
|
| float_list_mean [BC_Stats] |
average of a list of floats
|
| float_list_std_deviation [BC_Stats] |
standard deviation of values in a list of floats
|
| float_list_sum [BC_Stats] |
sum of an list of floats
|
| float_list_variance [BC_Stats] |
the variance of values in a list of floats
|
| fmax2 [Rmath] | |
| fmin2 [Rmath] | |
| fold [BC_Stream] |
a fold for streams.
|
| fold [BC_Cont.StringMap] | |
| fold [BC_CharFreq.CharMap] | |
| fold_left [BC_String] |
a fold_left for string.
|
| fold_left [BC_Stream] |
a fold left for streams.
|
| fold_left [BC_List] | |
| fold_left [BC_CachedArray] |
fold left for cached array.
|
| fold_left [BC_Array] | |
| fold_left2 [BC_List] | |
| fold_right [BC_String] |
a fold_left for string.
|
| fold_right [BC_List] | |
| fold_right [BC_Array] | |
| fold_right2 [BC_List] | |
| foldi_left [BC_String] |
same as fold_left, but the function is applied to the index
of the element as first argument, the cummulative value as the
second argument, and the element itself as the third argument.
|
| foldi_left [BC_Array] |
same as fold_left, but the function is applied to the index
of the element as first argument, the cummulative value as the
second argument, and the element itself as the
third argument
|
| foldi_right [BC_String] |
same as fold_right, but the function is applied to the index
of the element as first argument, and the element itself as the
second argument, and the cumulative value as the thir argument.
|
| foldi_right [BC_Array] |
same as fold_right, but the function is applied to the index
of the element as first argument, and the element itself as the
second argument, and the cummulative value as the third argument.
|
| for_all [BC_String] |
Checks if all elements of the string satisfy the predicate `p'.
|
| for_all [BC_List] | |
| for_all2 [BC_List] | |
| fprec [Rmath] | |
| freq_int_list [BC_Stats] |
returns frequency list of a given int list.
|
| freq_of [BC_CharFreq] |
Return the frequency of a given character.
|
| freq_to_cmap [BC_CharFreq] | freq_to_cmap freq alph returns a Map which gives
an integer for a given character in alph.
|
| fround [Rmath] | |
| fsign [Rmath] | |
| ftrunc [Rmath] | |
G | |
| gammafn [Rmath] | |
| genrand [BC_Random] |
generate random float
|
| genrandint [BC_Random] |
generate random integer
|
| get [BC_String] | |
| get [BC_CachedArray] |
Get an element from the array.
|
| get [BC_Array] | |
| group [BC_Stats] | group lst n f.
|
| group [BC_List] | group compare lst groups the list of elements into a list of lists,
according to a compare function.
|
| group_setsz [BC_Stats] | group_setsz lst n f.
|
H | |
| hd [BC_List] | |
I | |
| imax2 [Rmath] | |
| imin2 [Rmath] | |
| index [BC_String] | |
| index_from [BC_String] | |
| indexing_alphabet [BC_Indexing] |
return indexing alphabet "0...8"
|
| init [BC_String] |
Init for string.
|
| init [BC_List] |
similar to
Array.init.
|
| init [BC_CachedArray] |
Initialize a new cached array.
|
| init [BC_Array] | |
| init_matrix [BC_CachedArray] |
two dimensional cached arrays.
|
| input_byte [BC_IO] |
same as input_char but return 8-bit integer representing the character
|
| input_char [BC_IO] |
read a single character from in_channel
|
| input_line [BC_IO] |
read a line from in_channel
|
| input_line_cm [BC_IO] |
Same as
input_line except ignoring lines that start with '#' and empty.
|
| insert [BC_Cont.LeftistHeap] | |
| int [BC_Random] |
returns a random integer between 0
(inclusive) and `bound' (exclusive).
|
| int_array_mean [BC_Stats] |
average of an array of ints
|
| int_array_sum [BC_Stats] |
sum of an array of ints
|
| int_array_variance [BC_Stats] |
the variance of values in the array.
|
| int_list_mean [BC_Stats] |
average of a list of ints
|
| int_list_std_deviation [BC_Stats] |
standard deviation of values in a list of ints
|
| int_list_sum [BC_Stats] |
sum of an list of ints
|
| int_list_variance [BC_Stats] |
the variance of values in a list of ints
|
| int_to_dna [BC_DNA] | ind_to_dna ch converts a integer value into a correspoinding DNA character.
|
| isEmpty [BC_Cont.LeftistHeap] | |
| is_dna_char [BC_NA] |
returns true if the character is 'a', 't', 'c', or 'g'
(case insensitive)
|
| is_dna_seq [BC_NA] |
returns true if all characters in the string returns true for
BC_NA.is_dna_char
|
| is_na_char [BC_NA] |
returns true if the character is one of
"acgtumrwsykvhdbxn" (case insensitive)
|
| is_na_seq [BC_NA] |
returns true if all characters in the string returns true for
BC_NA.is_na_char
|
| is_rna_char [BC_NA] |
returns true if the character is 'a', 'u', 'c', or 'g'
(case insensitive)
|
| is_rna_seq [BC_NA] |
returns true if all characters in the string returns true for
BC_NA.is_rna_char
|
| iter [BC_String] | |
| iter [BC_List] | |
| iter [BC_Cont.StringMap] | |
| iter [BC_CharFreq.CharMap] | |
| iter [BC_Array] | |
| iter2 [BC_List] | |
| iter_line [BC_Utils] |
run function for each line of input until End of file is read
|
| iteri [BC_String] |
an iteri for string.
|
| iteri [BC_Stream] |
Same as Stream.iter, but the function is applied to the index
of the element as first argument, and the element itself as
second argument.
|
| iteri [BC_List] |
similar to Array.iteri.
|
| iteri [BC_Array] | |
L | |
| lbeta [Rmath] | |
| lchoose [Rmath] | |
| length [BC_String] | |
| length [BC_List] | |
| length [BC_CachedArray] |
return the length of the cached array.
|
| length [BC_Array] | |
| lgammafn [Rmath] | |
| list_mean_aux [BC_Stats] |
auxiliary function for list mean
list -> initial value of sum, addition function,
division function (always divide by a float value)
|
| list_median [BC_Stats] |
returns the median, w/ respect to compare, of a list.
|
| list_median_aux [BC_Stats] |
returns the median, w/ respect to a comparison function, of a list
|
| list_std_deviation [BC_Stats] |
helper function for calculating the standard deviation of values in a list
|
| list_sum_aux [BC_Stats] |
auxiliary function for list sum
|
| list_variance [BC_Stats] |
helper function for calculating the variance of values in a list
|
| local_search [BC_Search] |
run local seaerch starting at initparam.
|
| log1p [Rmath] | |
| log2 [BC_Utils] |
log base 2
|
| lowercase [BC_String] | |
| lowercase [BC_Char] | |
M | |
| m [BC_List] |
m cmp l
return the element of list l that is minimum, with respect to cmp.
|
| m [BC_Array] |
m cmp a
return the element of array a that is minimum, with respect to cmp.
|
| make [BC_String] | |
| make [BC_Cont.DisjSet] | |
| make [BC_CachedArray] | make n v makes a cached array of size n filled with value v.
|
| make [BC_Array] | |
| make_bij_table [BC_Char] |
Make a table for the bijection (one-to-one correspondance) between each
character of the string, and its position.
|
| make_c2i_table [BC_Char] |
Make conversion table of char -> int from a string array.
|
| make_i2c_table [BC_Char] |
Make conversion table of int -> char from a string.
|
| make_matrix [BC_Array] | |
| map [BC_String] |
apply function char -> char to each element of string, and return a string
|
| map [BC_Stream] |
a map on a stream.
|
| map [BC_List] | |
| map [BC_Cont.StringMap] | |
| map [BC_CharFreq.CharMap] | |
| map [BC_CachedArray] |
Map on cached arrays.
|
| map [BC_Array] | |
| map2 [BC_List] | |
| map_from_array [BC_String] |
apply a function 'a -> char to each element of array, and return the result as a string
|
| map_from_list [BC_String] |
apply a function 'a -> char to each element of a list, and return the result as a string
|
| map_matrix [BC_CachedArray] |
map on a two dimensional cached array.
|
| map_snapshot [BC_CachedArray] | map_snapshot f a creates a snapshot of a cached array.
|
| map_to_array [BC_String] |
apply a function to each char of a string, and return the result as an array
|
| map_to_array [BC_List] | map_to_array f lst is the same as
Array.map f (Array.of_list lst) but doesn't create the intermediate
array.
|
| map_to_array [BC_CachedArray] |
map and then convert the results to a normal array.
|
| map_to_list [BC_String] |
apply a function to each char of a string, and return the result as a list
|
| map_to_list [BC_Array] |
map and return the result as a list.
|
| mapi [BC_Cont.StringMap] | |
| mapi [BC_CharFreq.CharMap] | |
| mapi [BC_Array] | |
| mascdawg [BC_StrMatch] |
creates a MASCDAWG from a string.
|
| matrix_get [BC_CachedArray] |
get an element from a two dimensional cached array.
|
| matrix_set [BC_CachedArray] |
Assign a new value to an element of a two dimensional cached array.
|
| max [BC_List] |
return the maximum element of a list.
|
| max [BC_Array] |
return the maximum element of an array.
|
| mcc [BC_Stats] |
Matthews correlation coefficient
|
| meanf [BC_Clustering.KMEANSDISTsig] | |
| mem [BC_List] | |
| mem [BC_Cont.StringMap] | |
| mem [BC_CharFreq.CharMap] | |
| mem_assoc [BC_List] | |
| mem_assq [BC_List] | |
| memq [BC_List] | |
| merge [BC_Cont.LeftistHeap] | |
| min [BC_List] |
return the minimum element of a list.
|
| min [BC_Array] |
return the minimum element of an array.
|
| my_init [MySQL] |
Initialize everything.
|
| mysql_affected_rows [MySQL] | |
| mysql_data_seek [MySQL] | |
| mysql_errno [MySQL] | |
| mysql_error [MySQL] | |
| mysql_fetch_lengths [MySQL] | |
| mysql_fetch_row [MySQL] | |
| mysql_field_count [MySQL] | |
| mysql_get_client_info [MySQL] | |
| mysql_get_host_info [MySQL] | |
| mysql_get_proto_info [MySQL] | |
| mysql_get_server_info [MySQL] | |
| mysql_init [MySQL] |
Return a fresh mysql object.
|
| mysql_list_dbs [MySQL] | |
| mysql_list_fields [MySQL] | |
| mysql_list_processes [MySQL] | |
| mysql_list_tables [MySQL] | |
| mysql_num_fields [MySQL] | |
| mysql_num_rows [MySQL] | |
| mysql_ping [MySQL] | |
| mysql_real_connect [MySQL] | |
| mysql_real_query [MySQL] | |
| mysql_reinit [MySQL] |
Re-initialize a mysql object.
|
| mysql_row_seek [MySQL] | |
| mysql_row_tell [MySQL] | |
| mysql_select_db [MySQL] | |
| mysql_stat [MySQL] | |
| mysql_store_result [MySQL] | |
| mysql_thread_id [MySQL] | |
| mysql_use_result [MySQL] | |
N | |
| na_charset [BC_NA] |
returns the set of nucleic acids represented by a
single character: e.g.
|
| neg_binomial [BC_Stats] | neg_binomial r p returns a random integer value that has Negative Binomial
distribution with index r and success probability p.
|
| neighbors [BC_Indexing] |
generate the neighborhood of a given indexing
|
| nhd [BC_List] |
nhd lst n
returns the first n elements of list lst.
|
| norm_rand [Rmath] | |
| normal [BC_Stats] | normal m v returns a normal random value N(m, v^2)
|
| nth [BC_List] | |
O | |
| of_array [BC_String] |
return a fresh string from an array of characters
|
| of_array [BC_Stream] |
Build a stream from an array.
|
| of_array [BC_CachedArray] |
convert the array to a cached array.
|
| of_file_lines [BC_Stream] |
a stream of each line of a file.
|
| of_file_lines2 [BC_Stream] |
The same as
of_file_lines, except for ignoring comments and empty lines.
|
| of_in_channel [BC_IO] |
conversion to Pervasives.in_channel
|
| of_lines [BC_Stream] |
a stream made with input_line on an input channel.
|
| of_list [BC_String] |
return a fresh string from a list of characters
|
| of_list [BC_Array] | |
| open_in [BC_IO] |
open a file for input stream
|
P | |
| partition [BC_List] | |
| partition [BC_Array] | partition p a
returns pair of arrays (a1, a2) where a1 is the array of all
elements of a which satisfy p, and a2 is the array of all elements
of a which do not satisfy p.
|
| pbeta [Rmath] | |
| pbeta_raw [Rmath] | |
| pbinom [Rmath] | |
| pcauchy [Rmath] | |
| pchisq [Rmath] | |
| pentagamma [Rmath] | |
| pexp [Rmath] | |
| pf [Rmath] | |
| pgamma [Rmath] | |
| pgeom [Rmath] | |
| phyper [Rmath] | |
| plnorm [Rmath] | |
| plogis [Rmath] | |
| pnbeta [Rmath] | |
| pnbinom [Rmath] | |
| pnf [Rmath] | |
| pnorm [Rmath] | |
| pnorm_both [Rmath] | |
| pnt [Rmath] | |
| posneg_cross_validate [BC_Learning] | posneg_cross_validate k posdata negdata sampler learner evaluator
similar to cross_validate:
runs a k-cross validation on the data, but the data consists of
two sets, which should be equally sampled.
|
| ppois [Rmath] | |
| prune_tree [BC_BDTree] |
prune useless branches from a tree
|
| psignrank [Rmath] | |
| pt [Rmath] | |
| ptukey [Rmath] | |
| punif [Rmath] | |
| pweibull [Rmath] | |
| pwilcox [Rmath] | |
| pythag [Rmath] | |
Q | |
| qbeta [Rmath] | |
| qbinom [Rmath] | |
| qcauchy [Rmath] | |
| qchisq [Rmath] | |
| qexp [Rmath] | |
| qf [Rmath] | |
| qf [BC_Stats] | qf v1 v2 f returns cumulative probablitiy of
F distribution with digree of freedom v1, v2.
|
| qgamma [Rmath] | |
| qgeom [Rmath] | |
| qhyper [Rmath] | |
| qlnorm [Rmath] | |
| qlogis [Rmath] | |
| qnbinom [Rmath] | |
| qnorm [Rmath] | |
| qpois [Rmath] | |
| qsignrank [Rmath] | |
| qt [Rmath] | |
| qtukey [Rmath] | |
| qunif [Rmath] | |
| qweibull [Rmath] | |
| qwilcox [Rmath] | |
R | |
| r_IsNaNorNA [Rmath] | |
| r_finite [Rmath] | |
| r_pow [Rmath] | |
| r_pow_di [Rmath] | |
| rbeta [Rmath] | |
| rbinom [Rmath] | |
| rcauchy [Rmath] | |
| rchisq [Rmath] | |
| rcontains_from [BC_String] | |
| read_entry [BC_Fasta] |
read a string Stream.t where each string in the stream represents
one line of a Fasta format file.
|
| read_file [BC_Fasta] |
Read an entire fasta format file.
|
| remove [BC_Cont.StringMap] | |
| remove [BC_CharFreq.CharMap] | |
| remove_assoc [BC_List] | |
| remove_assq [BC_List] | |
| rev [BC_String] |
reverse a string
|
| rev [BC_List] | |
| rev [BC_Array] |
return a fresh array with the elements in reverse order
|
| rev_append [BC_List] | |
| rev_map [BC_String] | |
| rev_map [BC_List] | |
| rev_map [BC_Array] |
reverse map.
|
| rev_map2 [BC_List] | |
| rev_map_from_array [BC_String] | |
| rev_map_from_list [BC_String] | |
| rev_map_to_array [BC_String] | |
| rev_map_to_list [BC_String] | |
| rev_map_to_list [BC_Array] |
map and return the result as list.
|
| rev_nhd [BC_List] |
rev_nhd lst n
returns the first n elements of list lst in reverse order.
|
| rev_of_array [BC_String] | |
| rev_of_list [BC_String] | |
| rev_of_list [BC_Array] |
create a fresh array from a list.
|
| rev_substrings [BC_String] | |
| rev_to_array [BC_String] | |
| rev_to_list [BC_String] | |
| rev_uniq [BC_List] |
remove redundant consecutive elements of a list (similar to UNIX command uniq),
but the result is in reverse order.
|
| revcomp_to_dna [BC_NA] |
Return a fresh string representing the reverse complement of the input.
|
| revcomp_to_rna [BC_NA] |
Return a fresh string representing the reverse complement of the input.
|
| rexp [Rmath] | |
| rf [Rmath] | |
| rgamma [Rmath] | |
| rgeom [Rmath] | |
| rhyper [Rmath] | |
| rindex [BC_String] | |
| rindex_from [BC_String] | |
| rlnorm [Rmath] | |
| rlogis [Rmath] | |
| rnbinom [Rmath] | |
| rnorm [Rmath] | |
| rpois [Rmath] | |
| rsignrank [Rmath] | |
| rt [Rmath] | |
| run [BC_Clustering.MakeKMeans] | |
| runif [Rmath] | |
| rweibull [Rmath] | |
| rwilcox [Rmath] | |
S | |
| sample [BC_Random] | sample k n
randomly selects k integers from the set : {0, 1, ..., n-1}.
|
| sample_array [BC_Random] | sample_array k a
randomly selects k elements from array a of n elements (Floyd's Algorithm?).
|
| sample_list [BC_Random] | sample_list k l
randomly selects k elements from list l of n elements (Floyd's Algorithm?).
|
| search_neighbors [BC_Search] |
search neighborhood of a solution, and return the best neighbor (depending on comp and evaluator)
return option type of Some (param, (score, solution) or None if there are no good neighbors
'a: type of score (evaluation) 'b: type of search space parameter 'c: type of solution 'd: type of neighborhood search parameters (should be equal to 'b to be of any use) 'e: type of data 'f: evaluator (parameter passed to solver: should influence score) solver: data -> evaluator -> score compare -> solution compare -> searchspace parameter -> (score * solution) evaluator: 'f (evaluator (any parameter) passed to solver to (perhaps) influence score) compscore : compare function for evaluation (scores) compsol : compare function for solutions (e.g. smaller solutions are better) |
| serialize [BC_Indexing] |
create internal representation of indexing.
|
| serialize [BC_BDTree] |
convert binary decision trees to strings which can be used as
internal representation
first arg: tree, second arg: conversion function for parameters at Nodes ('a -> string), third arg: conversion function for Leaves ('b -> string)
|
| set [BC_String] | |
| set [BC_CachedArray] | set arr i f sets the value at the ith position
to f ().
|
| set [BC_Array] | |
| set_seed [Rmath] | |
| sgenrand [BC_Random] |
set seed (!=0) for float integer generator
|
| sgenrandint [BC_Random] |
set seed (!= 0) for random integer generator
|
| show_histogram [BC_Stats] |
shows a histogram.
|
| sign [Rmath] | |
| snormal [BC_Stats] | snormal () returns a random value based on standard normal distribution (i.e.
|
| sort [BC_List] | |
| sort [BC_Array] | |
| split [BC_List] | |
| split [BC_Array] |
array version of
List.split.
|
| stable_sort [BC_List] | |
| stable_sort [BC_Array] | |
| store_result_fold [MySQL] |
A fold on rows of results which were obtained by mysql_store_result.
|
| store_result_iter [MySQL] |
An iter on rows of results which were obtained by mysql_store_result.
|
| store_result_map [MySQL] |
A map on rows of results which were obtained by mysql_store_result.
|
| stream_of_file [BC_Fasta] |
Return a stream of fasta entries from a file.
|
| string_of_astrstrmismatch [BC_StrMatch] |
convert the mismatch type to string
|
| string_of_rowcontent [MySQL] | |
| string_opt_of_rowcontent [MySQL] | |
| strstr [BC_StrMatch] |
Substring matching.
|
| strstr_match [BC_StrMatch] |
Substring matching
text -> pattern -> (position != -1)
|
| sub [BC_String] | |
| sub [BC_Array] | |
| sub_fold_left [BC_Array] | sub_fold_left b l f init a
computes f (... (f (f init a.(b)) a.(b+1)) ...) a.(b+l-1)
It is equivalent to Array.fold_left f (Array.sub arr b l) init a
(if f does not modify the array) but should be more efficient in that
a fresh array is not created
|
| subseq_match [BC_StrMatch] |
text -> pattern -> bool
|
| substrings [BC_String] | substrings str pos len sublen generates all substrings whose lengths are sublen
from str.
|
| suffix_tree [BC_StrMatch] |
creates a suffix_tree from a string (a dummy function which is not implemented)
|
T | |
| tetragamma [Rmath] | |
| tl [BC_List] | |
| to_array [BC_String] |
convert each character of the string to a fresh array of characters
|
| to_array [BC_CachedArray] |
convert the cached array to a normal array.
|
| to_dna [BC_NA] |
convert a string to a DNA sequence.
|
| to_dna_char [BC_NA] |
convert a character to a DNA character.
|
| to_in_channel [BC_IO] |
conversion from Pervasives.in_channel
|
| to_list [BC_String] |
convert each character of the string to a list of characters
|
| to_list [BC_Array] | |
| to_rna [BC_NA] |
convert a string to an RNA sequence.
|
| to_rna_char [BC_NA] |
convert a character to an RNA character.
|
| to_string [BC_Indexing] |
create string of indexing
|
| total [BC_CharFreq] |
return total frequency of all characters
|
| trigamma [Rmath] | |
| trim [BC_String] | trim str removes all white spaces in both ends of given string.
|
U | |
| uncapitalize [BC_String] | |
| unif_rand [Rmath] | |
| uninput_byte [BC_IO] |
`push back' a byte to in_channel.
|
| uninput_char [BC_IO] |
`push back' a character to in_channel.
|
| uninput_line [BC_IO] |
`push back' a line to in_channel.
|
| uninput_string [BC_IO] |
`push back' a line to in_channel.
|
| union [BC_Cont.DisjSet] | |
| uniq [BC_List] |
remove redundant consecutive elements of a list (similar to UNIX command uniq).
|
| uniq_base [BC_List] | uniq_base lst comp removes redundant consecutive elements of a list
using a comparator comp.
|
| unsafe_blit [BC_String] | |
| unsafe_chr [BC_Char] | |
| unsafe_fill [BC_String] | |
| unsafe_get [BC_String] | |
| unsafe_get [BC_Array] | |
| unsafe_mysql_fetch_lengths [MySQL] | |
| unsafe_mysql_fetch_row [MySQL] | |
| unsafe_set [BC_String] | |
| unsafe_set [BC_Array] | |
| uppercase [BC_String] | |
| uppercase [BC_Char] | |
| use_result_fold [MySQL] |
A fold on rows of results which were obtained by mysql_store_result.
|
| use_result_iter [MySQL] |
An iter on rows of results which were obtained by mysql_store_result.
|
| use_result_map [MySQL] |
A map on rows of results which were obtained by mysql_store_result.
|
V | |
| vldc_match [BC_StrMatch] | vldc_match mascdawg pattern returns true if the
pattern matches (substring matching with wildcard)
the text represented by mascdawg.
|
W | |
| write_file [BC_Fasta] |
Write a list of (header, sequence) to a file in FASTA format.
|