Skip to content

Commit

Permalink
remove rank titles for now
Browse files Browse the repository at this point in the history
* ranks.tsv is not loaded
* it's not mentioned in README
* Will be (hopefully) implemented in future
  • Loading branch information
tuner committed Nov 7, 2024
1 parent 89f7733 commit 70ce470
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ error-prone process. This tool draws them automatically based on the input data.
You can explore the tool and example Jellyfish at
[https://hautaniemilab.github.io/jellyfish/](https://hautaniemilab.github.io/jellyfish/).

The documentation is still somewhat incomplete. Stay tuned!

<p align="center">
<img src="docs/example.svg" alt="An example of a Jellyfish plot" />
</p>
Expand Down Expand Up @@ -192,21 +190,6 @@ table.
| P2_iOvaR1_DNA1 | 7 | 0.665 | P2 |
| P2_pOme2_DNA1 | 8 | 0.5195 | P2 |

### `ranks.tsv`

TODO: Docs

| rank | title |
| ---- | ----------- |
| 1 | Diagnosis |
| 2 | Diagnosis 2 |
| 3 | Interval |
| 4 | Interval 2 |
| 5 | Relapse |
| 6 | Relapse 2 |
| 7 | Relapse 3 |
| 8 | Relapse 4 |

## About

Copyright (c) 2024 Kari Lavikka. MIT licensed, see [LICENSE](LICENSE) for details.
Expand Down
4 changes: 4 additions & 0 deletions src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,14 @@ async function fetchAndParse(url: string) {
}

export async function loadAndParseRanks(): Promise<RankRow[]> {
return [];
/*
// Disabled for now
return (await fetchAndParse("ranks.tsv")).map((d) => ({
rank: parseNumber(d.rank),
title: d.title,
}));
*/
}

export async function loadAndParseSamples(): Promise<SampleRow[]> {
Expand Down

0 comments on commit 70ce470

Please sign in to comment.