UNPKG

@nfdi4plants/swate-components

Version:

Customizable React components for ontology annotation, based on Swate and the ARC.

23 lines 1.39 kB
import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { FsColumn } from '../../FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js'; import { FsTable } from '../../FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js'; import { FsWorksheet } from '../../FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js'; import { Option } from '@fable-org/fable-library-js/Option.js'; import { DataContext } from '../../ARCtrl.Core.3.0.0-beta.12/DataContext.fs.js'; import { DataMap } from '../../ARCtrl.Core.3.0.0-beta.12/DataMap.fs.js'; export declare const helperColumnStrings: FSharpList<string>; export declare function groupColumnsByHeader(columns: FSharpList<FsColumn>): FSharpList<FSharpList<FsColumn>>; /** * Returns the annotation table of the worksheet if it exists, else returns None */ export declare function tryDataMapTable(sheet: FsWorksheet): Option<FsTable>; /** * Groups and parses a collection of single columns into the according ISA composite columns */ export declare function composeColumns(columns: Iterable<FsColumn>): DataContext[]; /** * Returns the protocol described by the headers and a function for parsing the values of the matrix to the processes of this protocol */ export declare function tryFromFsWorksheet(sheet: FsWorksheet): Option<DataMap>; export declare function toFsWorksheet(table: DataMap): FsWorksheet; //# sourceMappingURL=DataMapTable.fs.d.ts.map