UNPKG

@nfdi4plants/swate-components

Version:

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

26 lines 2.02 kB
import { FsWorksheet } from '../FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js'; import { int32 } from '@fable-org/fable-library-js/Int32.js'; import { ArcAssay, ArcStudy } from '../ARCtrl.Core.3.0.0-beta.12/ArcTypes.fs.js'; import { Option } from '@fable-org/fable-library-js/Option.js'; import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { FsWorkbook } from '../FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js'; export declare function ArcStudy_toMetadataSheet(study: ArcStudy, assays: Option<FSharpList<ArcAssay>>): FsWorksheet; export declare function ArcStudy_fromRows(rows: Iterable<Iterable<[int32, string]>>): Option<[ArcStudy, FSharpList<ArcAssay>]>; export declare function ArcStudy_fromMetadataSheet(sheet: FsWorksheet): [ArcStudy, FSharpList<ArcAssay>]; export declare function ArcStudy_toMetadataCollection(study: ArcStudy, assays: Option<FSharpList<ArcAssay>>): Iterable<Iterable<Option<string>>>; export declare function ArcStudy_fromMetadataCollection(collection: Iterable<Iterable<Option<string>>>): [ArcStudy, FSharpList<ArcAssay>]; export declare function ArcStudy_isMetadataSheetName(name: string): boolean; export declare function ArcStudy_isMetadataSheet(sheet: FsWorksheet): boolean; export declare function ArcStudy_tryGetMetadataSheet(doc: FsWorkbook): Option<FsWorksheet>; /** * Reads an assay from a spreadsheet */ export declare function ARCtrl_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D(doc: FsWorkbook): [ArcStudy, FSharpList<ArcAssay>]; /** * Write a study to a spreadsheet * * If datamapSheet is true, the datamap will be written to a worksheet inside study workbook. Default: true */ export declare function ARCtrl_ArcStudy__ArcStudy_toFsWorkbook_Static_Z4CEFA522(study: ArcStudy, assays?: FSharpList<ArcAssay>, datamapSheet?: boolean): FsWorkbook; export declare function ARCtrl_ArcStudy__ArcStudy_ToFsWorkbook_257FC1F0(this$: ArcStudy, assays: Option<FSharpList<ArcAssay>>, datamapSheet: Option<boolean>): FsWorkbook; //# sourceMappingURL=ArcStudy.fs.d.ts.map