UNPKG

@nfdi4plants/swate-components

Version:

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

31 lines 1.92 kB
import { int32 } from '@fable-org/fable-library-js/Int32.js'; import { Option } from '@fable-org/fable-library-js/Option.js'; import { ArcAssay } from '../ARCtrl.Core.3.0.0-beta.12/ArcTypes.fs.js'; import { FsWorksheet } from '../FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js'; import { FsWorkbook } from '../FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js'; export declare function ArcAssay_fromRows(rows: Iterable<Iterable<[int32, string]>>): ArcAssay; export declare function ArcAssay_toRows(assay: ArcAssay): Iterable<Iterable<[int32, string]>>; export declare function ArcAssay_toMetadataSheet(assay: ArcAssay): FsWorksheet; export declare function ArcAssay_fromMetadataSheet(sheet: FsWorksheet): ArcAssay; export declare function ArcAssay_toMetadataCollection(assay: ArcAssay): Iterable<Iterable<Option<string>>>; export declare function ArcAssay_fromMetadataCollection(collection: Iterable<Iterable<Option<string>>>): ArcAssay; export declare function ArcAssay_isMetadataSheetName(name: string): boolean; export declare function ArcAssay_isMetadataSheet(sheet: FsWorksheet): boolean; export declare function ArcAssay_tryGetMetadataSheet(doc: FsWorkbook): Option<FsWorksheet>; /** * Reads an assay from a spreadsheet */ export declare function ARCtrl_ArcAssay__ArcAssay_fromFsWorkbook_Static_32154C9D(doc: FsWorkbook): ArcAssay; /** * Write an assay to a spreadsheet * * If datamapSheet is true, the datamap will be written to a worksheet inside assay workbook. */ export declare function ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F(assay: ArcAssay, datamapSheet?: boolean): FsWorkbook; /** * Write an assay to a spreadsheet * * If datamapSheet is true, the datamap will be written to a worksheet inside assay workbook. */ export declare function ARCtrl_ArcAssay__ArcAssay_ToFsWorkbook_6FCE9E49(this$: ArcAssay, datamapSheet: Option<boolean>): FsWorkbook; //# sourceMappingURL=ArcAssay.fs.d.ts.map