loom-browser 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/loom-react.esm.min.js.map +1 -1
- package/dist/loom.esm.min.js.map +1 -1
- package/dist/loom.min.js.map +1 -1
- package/dist/tsconfig.src.tsbuildinfo +1 -1
- package/dist/types/headlessGenomeBrowser.d.ts +2 -4
- package/dist/types/react/tracks/BedTrack.d.ts +1 -5
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* browser.setLocus({ chr: 'chr17', start: 7670000, end: 7680000 })
|
|
17
17
|
* browser.dispose()
|
|
18
18
|
*/
|
|
19
|
-
import type { Locus, Track, DataSource, FeatureCacheEntry, SessionConfig, TrackSessionConfig, DataSourceConfig, TrackInteractionEvent, TrackContextMenuEvent, WindowFunction, WigFeature,
|
|
19
|
+
import type { Locus, Track, DataSource, FeatureCacheEntry, SessionConfig, TrackSessionConfig, DataSourceConfig, TrackInteractionEvent, TrackContextMenuEvent, WindowFunction, WigFeature, BedFeature, WigRenderConfig, AnnotationRenderConfig, RulerRenderConfig, SequenceRenderConfig, InteractionRenderConfig, TextFileFormat, SequenceProvider, Genome, ROI, ROISetConfig, ROIInteractionEvent } from './types';
|
|
20
20
|
import { ROISet } from './roi/roiSet';
|
|
21
21
|
import type { CanvasProvider } from './canvasProvider';
|
|
22
22
|
import type { WorkerProvider } from './workerProvider';
|
|
@@ -497,9 +497,7 @@ export declare class HeadlessGenomeBrowser {
|
|
|
497
497
|
/** Add a BigWig-style signal track backed by in-memory features (no URL required). */
|
|
498
498
|
addWigTrackWithFeatures(features: WigFeature[], options?: AddWigTrackWithFeaturesOptions): WigTrackCanvas;
|
|
499
499
|
/** Add a BED/annotation track backed by in-memory features (no URL required). Features must include `chr`. */
|
|
500
|
-
addBedTrackWithFeatures(features:
|
|
501
|
-
chr: string;
|
|
502
|
-
})[], options?: AddBedTrackWithFeaturesOptions): AnnotationTrackCanvas;
|
|
500
|
+
addBedTrackWithFeatures(features: BedFeature[], options?: AddBedTrackWithFeaturesOptions): AnnotationTrackCanvas;
|
|
503
501
|
/** Add a DNA/RNA sequence track. Data fetching is handled automatically via the genome's sequence provider. */
|
|
504
502
|
addSequenceTrack(options?: AddSequenceTrackOptions): SequenceTrackCanvas;
|
|
505
503
|
/** Apply a new render theme to the browser and all existing tracks. */
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BedFeature, AnnotationRenderConfig, TextFileFormat } from '../../types';
|
|
2
2
|
import type { TrackClickEvent } from '../hooks/useTrackManager';
|
|
3
|
-
type BedFeature = AnnotationFeature & {
|
|
4
|
-
chr: string;
|
|
5
|
-
};
|
|
6
3
|
export interface BedTrackProps {
|
|
7
4
|
/** URL to a BED/peak file. Mutually exclusive with `features`. */
|
|
8
5
|
url?: string;
|
|
@@ -25,4 +22,3 @@ export interface BedTrackProps {
|
|
|
25
22
|
onContextMenu?: (event: TrackClickEvent<BedFeature>) => void;
|
|
26
23
|
}
|
|
27
24
|
export declare function BedTrack({ url, features, config, height, background, format, indexURL, indexed, maxTrackHeight, name, metadata, colorBy, onClick, onContextMenu }: BedTrackProps): null;
|
|
28
|
-
export {};
|
package/dist/types/types.d.ts
CHANGED