package biocaml
Install
Dune Dependency
Authors
Maintainers
Sources
md5=4cf944bcae5d36bf47b67f6bcb2455d7
sha512=0262b5768aefd7c080f664c46c88876fce9a658cc6a87358a77b7112c49ae3042e7ab542e76be5738fbaeda853149b308b48d4897960b5c7ae3b4da71d978bd8
doc/biocaml.unix/Biocaml_unix/Bar/index.html
Module Biocaml_unix.Bar
Affymetrix's BAR files. Their Tiling Analysis Software (TAS) produces BAR files in binary format but this module supports only the text format generated by selecting the "Export probe analysis as TXT" option.
val of_file : string -> t
Parse file. Raise Bad
if there are parse errors.
val to_list : t -> (string * int * float) list
Return the data as a list of triplets (chr,pos,v) representing the chromosome name, probe position, and value. Will be returned in ascending order by (chr,pos).
section t name
returns the section named name
. Raise Failure
if no such section.
sectioni t i
returns the i
'th section. Raise Failure
if no such section.
val num_sections : t -> int
Returns the number of sections in t
Header Information
val data_type : t -> string
Return the type of data, either "signal" or "p-value".
val scale : t -> string
Return scale data is reported in, e.g. linear, log2.
val genomic_map : t -> string
File path of bpmap file used to generate scores.
val alg_name : t -> string
Name of algorithm used to generate scores.
val alg_version : t -> string
Version number of algorithm used.
val coord_convention : t -> string
Probe coordinate convention used.