RNAwolf-0.3.0.2: RNA folding with non-canonical basepairs and base-triplets.

BioInf.Params.Import

Description

Given a list of doubles with the exact required length import into a Params structure.

Synopsis

Documentation

fromList :: [Double] -> ParamsSource

Cast a list of values to parameters.

NOTE This operation is rather fragile if there are layout changes. Consider Repr for this.

NOTE BIG FAT WARNING: BE ABSOLUTELY SURE THAT ALL IMPORTS AND EXPORTS FOLLOW THIS ORDERING EXACTLY, OTHERWISE KEYS WILL BE MAPPED TO WRONG POSITIONS DURING LOOKUP AND VALUES END UP SOMEWHERE ELSE.

splitXs :: [Int] -> [Double] -> [[Double]]Source

split up a list accordings to given lengths