marsilea 0.4.1__py3-none-any.whl → 0.4.3__py3-none-any.whl
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.
- marsilea/__init__.py +1 -1
- marsilea/_deform.py +17 -3
- marsilea/base.py +30 -6
- marsilea/dendrogram.py +37 -5
- marsilea/exceptions.py +5 -4
- marsilea/heatmap.py +2 -0
- marsilea/plotter/__init__.py +1 -1
- marsilea/plotter/_images.py +251 -57
- marsilea/plotter/_seaborn.py +5 -4
- marsilea/plotter/arc.py +1 -2
- marsilea/plotter/bar.py +8 -7
- marsilea/plotter/base.py +12 -2
- marsilea/plotter/bio.py +3 -2
- marsilea/plotter/mesh.py +26 -14
- marsilea/plotter/text.py +69 -32
- marsilea/utils.py +3 -6
- marsilea-0.4.3.dist-info/METADATA +168 -0
- marsilea-0.4.3.dist-info/RECORD +30 -0
- {marsilea-0.4.1.dist-info → marsilea-0.4.3.dist-info}/WHEEL +1 -1
- oncoprinter/__init__.py +4 -0
- oncoprinter/core.py +360 -0
- oncoprinter/preset.py +258 -0
- marsilea-0.4.1.dist-info/METADATA +0 -76
- marsilea-0.4.1.dist-info/RECORD +0 -27
- {marsilea-0.4.1.dist-info → marsilea-0.4.3.dist-info/licenses}/LICENSE +0 -0
marsilea/plotter/text.py
CHANGED
|
@@ -10,6 +10,7 @@ import warnings
|
|
|
10
10
|
from dataclasses import dataclass
|
|
11
11
|
from matplotlib.axes import Axes
|
|
12
12
|
from matplotlib.colors import is_color_like
|
|
13
|
+
from matplotlib.lines import Line2D
|
|
13
14
|
from matplotlib.patches import Rectangle
|
|
14
15
|
from matplotlib.text import Text
|
|
15
16
|
from typing import List, Iterable
|
|
@@ -389,7 +390,7 @@ class _LabelBase(RenderPlan):
|
|
|
389
390
|
ax.remove()
|
|
390
391
|
return np.max(sizes) / figure.get_dpi()
|
|
391
392
|
|
|
392
|
-
def get_canvas_size(self, figure):
|
|
393
|
+
def get_canvas_size(self, figure, **kwargs):
|
|
393
394
|
self.texts_size = self.silent_render(figure, expand=self.get_expand())
|
|
394
395
|
return self.texts_size + self.padding / 72
|
|
395
396
|
|
|
@@ -545,7 +546,7 @@ class AnnoLabels(_LabelBase):
|
|
|
545
546
|
p.update_params(self._user_params)
|
|
546
547
|
return p
|
|
547
548
|
|
|
548
|
-
def get_canvas_size(self, figure):
|
|
549
|
+
def get_canvas_size(self, figure, **kwargs):
|
|
549
550
|
expand = self.get_expand()
|
|
550
551
|
canvas_size = self.silent_render(figure, expand)
|
|
551
552
|
size = canvas_size + self.pointer_size
|
|
@@ -651,7 +652,7 @@ class Labels(_LabelBase):
|
|
|
651
652
|
>>> import marsilea as ma
|
|
652
653
|
>>> from marsilea.plotter import Labels
|
|
653
654
|
>>> h = ma.Heatmap(np.random.randn(20, 20))
|
|
654
|
-
>>> h.add_right(Labels(labels, text_props={
|
|
655
|
+
>>> h.add_right(Labels(labels, text_props={"color": colors}))
|
|
655
656
|
>>> h.render()
|
|
656
657
|
|
|
657
658
|
"""
|
|
@@ -778,10 +779,10 @@ class Title(_LabelBase):
|
|
|
778
779
|
>>> matrix = np.random.randn(15, 10)
|
|
779
780
|
>>> h = ma.Heatmap(matrix)
|
|
780
781
|
>>> for align in ["left", "right", "center"]:
|
|
781
|
-
... title = Title(f
|
|
782
|
+
... title = Title(f"Title align={align}", align=align)
|
|
782
783
|
... h.add_top(title)
|
|
783
784
|
>>> for align in ["top", "bottom", "center"]:
|
|
784
|
-
... title = Title(f
|
|
785
|
+
... title = Title(f"Title align={align}", align=align)
|
|
785
786
|
... h.add_left(title)
|
|
786
787
|
>>> h.render()
|
|
787
788
|
|
|
@@ -887,6 +888,7 @@ class _ChunkBase(_LabelBase):
|
|
|
887
888
|
align=None,
|
|
888
889
|
props=None,
|
|
889
890
|
padding=2,
|
|
891
|
+
underline=False,
|
|
890
892
|
bordercolor=None,
|
|
891
893
|
borderwidth=None,
|
|
892
894
|
borderstyle=None,
|
|
@@ -910,6 +912,7 @@ class _ChunkBase(_LabelBase):
|
|
|
910
912
|
props = [props for _ in range(n)]
|
|
911
913
|
self.props = props
|
|
912
914
|
|
|
915
|
+
self.underline = underline
|
|
913
916
|
if is_color_like(bordercolor):
|
|
914
917
|
bordercolor = [bordercolor for _ in range(n)]
|
|
915
918
|
if bordercolor is not None:
|
|
@@ -924,6 +927,12 @@ class _ChunkBase(_LabelBase):
|
|
|
924
927
|
borderstyle = [borderstyle for _ in range(n)]
|
|
925
928
|
self.borderstyle = borderstyle
|
|
926
929
|
|
|
930
|
+
if self.underline:
|
|
931
|
+
if self.bordercolor is None:
|
|
932
|
+
self.bordercolor = np.asarray(["black" for _ in range(n)])
|
|
933
|
+
if self.borderwidth is None:
|
|
934
|
+
self.borderwidth = np.asarray([3 for _ in range(n)])
|
|
935
|
+
|
|
927
936
|
self._draw_bg = (self.fill_colors is not None) or (self.bordercolor is not None)
|
|
928
937
|
self.text_pad = 0
|
|
929
938
|
|
|
@@ -941,6 +950,13 @@ class _ChunkBase(_LabelBase):
|
|
|
941
950
|
"bottom": 0,
|
|
942
951
|
}
|
|
943
952
|
|
|
953
|
+
default_underline = {
|
|
954
|
+
"right": [(0, 0), (0, 1)],
|
|
955
|
+
"left": [(1, 1), (1, 0)],
|
|
956
|
+
"top": [(0, 1), (0, 0)],
|
|
957
|
+
"bottom": [(0, 1), (1, 1)],
|
|
958
|
+
}
|
|
959
|
+
|
|
944
960
|
def get_alignment(self, ha, va, rotation):
|
|
945
961
|
if rotation in {90, -90}:
|
|
946
962
|
ha, va = va, ha # swap the alignment
|
|
@@ -1005,16 +1021,27 @@ class _ChunkBase(_LabelBase):
|
|
|
1005
1021
|
if self._draw_bg:
|
|
1006
1022
|
if bgcolor is None:
|
|
1007
1023
|
bgcolor = "white"
|
|
1008
|
-
|
|
1009
|
-
(
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1024
|
+
if not self.underline:
|
|
1025
|
+
rect = Rectangle(
|
|
1026
|
+
(0, 0),
|
|
1027
|
+
1,
|
|
1028
|
+
1,
|
|
1029
|
+
facecolor=bgcolor,
|
|
1030
|
+
edgecolor=bc,
|
|
1031
|
+
linewidth=lw,
|
|
1032
|
+
linestyle=ls,
|
|
1033
|
+
transform=ax.transAxes,
|
|
1034
|
+
)
|
|
1035
|
+
else:
|
|
1036
|
+
xdata, ydata = self.default_underline[self.side]
|
|
1037
|
+
rect = Line2D(
|
|
1038
|
+
xdata,
|
|
1039
|
+
ydata,
|
|
1040
|
+
color=bc,
|
|
1041
|
+
linewidth=lw,
|
|
1042
|
+
linestyle=ls,
|
|
1043
|
+
transform=ax.transAxes,
|
|
1044
|
+
)
|
|
1018
1045
|
ax.add_artist(rect)
|
|
1019
1046
|
fontdict.setdefault("color", self.get_text_color(bgcolor))
|
|
1020
1047
|
|
|
@@ -1069,10 +1096,10 @@ class Chunk(_ChunkBase):
|
|
|
1069
1096
|
>>> from marsilea.plotter import Chunk
|
|
1070
1097
|
>>> matrix = np.random.randn(20, 20)
|
|
1071
1098
|
>>> h = ma.Heatmap(matrix)
|
|
1072
|
-
>>> chunk = [
|
|
1099
|
+
>>> chunk = ["C1", "C2", "C3", "C4"]
|
|
1073
1100
|
>>> labels = np.random.choice(chunk, size=20)
|
|
1074
|
-
>>> h.
|
|
1075
|
-
>>> h.add_right(Chunk(chunk, bordercolor="gray"), pad
|
|
1101
|
+
>>> h.group_rows(labels, order=chunk)
|
|
1102
|
+
>>> h.add_right(Chunk(chunk, bordercolor="gray"), pad=0.1)
|
|
1076
1103
|
>>> h.add_dendrogram("left")
|
|
1077
1104
|
>>> h.render()
|
|
1078
1105
|
|
|
@@ -1086,6 +1113,7 @@ class Chunk(_ChunkBase):
|
|
|
1086
1113
|
align=None,
|
|
1087
1114
|
props=None,
|
|
1088
1115
|
padding=8,
|
|
1116
|
+
underline=False,
|
|
1089
1117
|
bordercolor=None,
|
|
1090
1118
|
borderwidth=None,
|
|
1091
1119
|
borderstyle=None,
|
|
@@ -1100,6 +1128,7 @@ class Chunk(_ChunkBase):
|
|
|
1100
1128
|
align=align,
|
|
1101
1129
|
props=props,
|
|
1102
1130
|
padding=padding,
|
|
1131
|
+
underline=underline,
|
|
1103
1132
|
bordercolor=bordercolor,
|
|
1104
1133
|
borderwidth=borderwidth,
|
|
1105
1134
|
borderstyle=borderstyle,
|
|
@@ -1175,10 +1204,10 @@ class FixedChunk(_ChunkBase):
|
|
|
1175
1204
|
>>> from marsilea.plotter import FixedChunk
|
|
1176
1205
|
>>> matrix = np.random.randn(20, 20)
|
|
1177
1206
|
>>> h = ma.Heatmap(matrix)
|
|
1178
|
-
>>> chunk = [
|
|
1207
|
+
>>> chunk = ["C1", "C2", "C3", "C4"]
|
|
1179
1208
|
>>> labels = np.random.choice(chunk, size=20)
|
|
1180
|
-
>>> h.
|
|
1181
|
-
>>> h.add_right(FixedChunk(chunk, bordercolor="gray"), pad
|
|
1209
|
+
>>> h.group_rows(labels, order=chunk)
|
|
1210
|
+
>>> h.add_right(FixedChunk(chunk, bordercolor="gray"), pad=0.1)
|
|
1182
1211
|
>>> h.add_dendrogram("left")
|
|
1183
1212
|
>>> h.render()
|
|
1184
1213
|
|
|
@@ -1188,12 +1217,18 @@ class FixedChunk(_ChunkBase):
|
|
|
1188
1217
|
:context: close-figs
|
|
1189
1218
|
|
|
1190
1219
|
>>> h = ma.Heatmap(matrix)
|
|
1191
|
-
>>> chunk = [
|
|
1220
|
+
>>> chunk = ["C1", "C2-1", "C2-2", "C4"]
|
|
1192
1221
|
>>> labels = np.random.choice(chunk, size=20)
|
|
1193
|
-
>>> h.
|
|
1194
|
-
>>> h.add_right(FixedChunk(chunk, bordercolor="gray"), pad
|
|
1195
|
-
>>> h.add_right(
|
|
1196
|
-
...
|
|
1222
|
+
>>> h.group_rows(labels, order=chunk)
|
|
1223
|
+
>>> h.add_right(FixedChunk(chunk, bordercolor="gray"), pad=0.1)
|
|
1224
|
+
>>> h.add_right(
|
|
1225
|
+
... FixedChunk(
|
|
1226
|
+
... ["C1", "C2", "C3"],
|
|
1227
|
+
... fill_colors="red",
|
|
1228
|
+
... ratio=[1, 2, 1],
|
|
1229
|
+
... ),
|
|
1230
|
+
... pad=0.1,
|
|
1231
|
+
... )
|
|
1197
1232
|
>>> h.render()
|
|
1198
1233
|
|
|
1199
1234
|
|
|
@@ -1208,6 +1243,7 @@ class FixedChunk(_ChunkBase):
|
|
|
1208
1243
|
ratio=None,
|
|
1209
1244
|
props=None,
|
|
1210
1245
|
padding=8,
|
|
1246
|
+
underline=False,
|
|
1211
1247
|
bordercolor=None,
|
|
1212
1248
|
borderwidth=None,
|
|
1213
1249
|
borderstyle=None,
|
|
@@ -1219,12 +1255,13 @@ class FixedChunk(_ChunkBase):
|
|
|
1219
1255
|
super().__init__(
|
|
1220
1256
|
texts,
|
|
1221
1257
|
fill_colors,
|
|
1222
|
-
align,
|
|
1223
|
-
props,
|
|
1224
|
-
padding,
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1258
|
+
align=align,
|
|
1259
|
+
props=props,
|
|
1260
|
+
padding=padding,
|
|
1261
|
+
underline=underline,
|
|
1262
|
+
bordercolor=bordercolor,
|
|
1263
|
+
borderwidth=borderwidth,
|
|
1264
|
+
borderstyle=borderstyle,
|
|
1228
1265
|
**options,
|
|
1229
1266
|
)
|
|
1230
1267
|
if ratio is not None:
|
marsilea/utils.py
CHANGED
|
@@ -2,7 +2,6 @@ import matplotlib as mpl
|
|
|
2
2
|
import numpy as np
|
|
3
3
|
from itertools import tee, islice
|
|
4
4
|
from matplotlib import colors as mcolors
|
|
5
|
-
from matplotlib.colors import Colormap
|
|
6
5
|
from uuid import uuid4
|
|
7
6
|
|
|
8
7
|
ECHARTS16 = [
|
|
@@ -69,15 +68,13 @@ def relative_luminance(color):
|
|
|
69
68
|
|
|
70
69
|
|
|
71
70
|
def get_colormap(cmap):
|
|
72
|
-
if isinstance(cmap, Colormap):
|
|
73
|
-
return cmap
|
|
74
71
|
try:
|
|
75
|
-
return mpl.
|
|
72
|
+
return mpl.colormaps.get_cmap(cmap)
|
|
76
73
|
except AttributeError:
|
|
77
74
|
try:
|
|
78
|
-
return mpl.
|
|
75
|
+
return mpl.colormaps.get(cmap)
|
|
79
76
|
except AttributeError:
|
|
80
|
-
return mpl.cm.
|
|
77
|
+
return mpl.cm.get_cmap(cmap)
|
|
81
78
|
|
|
82
79
|
|
|
83
80
|
def get_canvas_size_by_data(
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: marsilea
|
|
3
|
+
Version: 0.4.3
|
|
4
|
+
Dynamic: Summary
|
|
5
|
+
Project-URL: Home, https://github.com/Marsilea-viz/marsilea
|
|
6
|
+
Author: Zhihang Zheng
|
|
7
|
+
Author-email: Mr-Milk <yzheng@cemm.at>
|
|
8
|
+
License: The MIT License (MIT)
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2024 Mr-Milk
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in
|
|
20
|
+
all copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
|
+
THE SOFTWARE.
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Classifier: Framework :: Matplotlib
|
|
31
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
32
|
+
Classifier: Programming Language :: Python :: 3
|
|
33
|
+
Requires-Python: >=3.8
|
|
34
|
+
Requires-Dist: legendkit
|
|
35
|
+
Requires-Dist: matplotlib>=3.6
|
|
36
|
+
Requires-Dist: numpy
|
|
37
|
+
Requires-Dist: pandas
|
|
38
|
+
Requires-Dist: platformdirs
|
|
39
|
+
Requires-Dist: scipy
|
|
40
|
+
Requires-Dist: seaborn
|
|
41
|
+
Provides-Extra: dev
|
|
42
|
+
Requires-Dist: icecream; extra == 'dev'
|
|
43
|
+
Requires-Dist: mpl-fontkit; extra == 'dev'
|
|
44
|
+
Requires-Dist: numpydoc; extra == 'dev'
|
|
45
|
+
Requires-Dist: pydata-sphinx-theme; extra == 'dev'
|
|
46
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
47
|
+
Requires-Dist: python-hmr; extra == 'dev'
|
|
48
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
49
|
+
Requires-Dist: scikit-learn; extra == 'dev'
|
|
50
|
+
Requires-Dist: sphinx; extra == 'dev'
|
|
51
|
+
Requires-Dist: sphinx-copybutton; extra == 'dev'
|
|
52
|
+
Requires-Dist: sphinx-design; extra == 'dev'
|
|
53
|
+
Requires-Dist: sphinx-gallery; extra == 'dev'
|
|
54
|
+
Description-Content-Type: text/markdown
|
|
55
|
+
|
|
56
|
+
<p align="center">
|
|
57
|
+
<picture align="center">
|
|
58
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-dark.jpg">
|
|
59
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-blue.jpg">
|
|
60
|
+
<img alt="Shows a bar chart with benchmark results." src="https://github.com/Marsilea-viz/marsilea/raw/main/img/banner-dark.jpg" width="400">
|
|
61
|
+
</picture>
|
|
62
|
+
</p>
|
|
63
|
+
|
|
64
|
+
[](https://marsilea.readthedocs.io/en/stable)
|
|
65
|
+

|
|
66
|
+

|
|
67
|
+
|
|
68
|
+
# Marsilea: Declarative creation of composable visualization!
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Documentation
|
|
73
|
+
|
|
74
|
+
You can read the documentation on Read the Docs.
|
|
75
|
+
|
|
76
|
+
[Read Documentation](https://marsilea.readthedocs.io/)
|
|
77
|
+
|
|
78
|
+
## Installation
|
|
79
|
+
|
|
80
|
+
```shell
|
|
81
|
+
pip install marsilea
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## What is Composable Visualization?
|
|
85
|
+
|
|
86
|
+
<p align="center">
|
|
87
|
+
<picture align="center">
|
|
88
|
+
<img alt="Shows a bar chart with benchmark results." src="https://github.com/Marsilea-viz/marsilea/raw/main/img/showcase.gif" width="300">
|
|
89
|
+
</picture>
|
|
90
|
+
</p>
|
|
91
|
+
|
|
92
|
+
When we do visualization, we often need to combine multiple plots to show different aspects of the data.
|
|
93
|
+
For example, we may need to create a heatmap to show the expression of genes in different cells,
|
|
94
|
+
and then create a bar chart to show the expression of genes in different cell types.
|
|
95
|
+
A visualization contains multiple plots is called a composable visualization.
|
|
96
|
+
In Marsilea, we employ a declarative approach for user to create composable visualization incrementally.
|
|
97
|
+
|
|
98
|
+
## Examples
|
|
99
|
+
|
|
100
|
+
<table>
|
|
101
|
+
<thead>
|
|
102
|
+
<tr>
|
|
103
|
+
<th>
|
|
104
|
+
<a href="https://marsilea.readthedocs.io/en/latest/examples/Gallery/plot_tiobe_index.html">
|
|
105
|
+
Bar Chart With Image
|
|
106
|
+
</a>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<a href="https://marsilea.readthedocs.io/en/latest/examples/Gallery/plot_oil_well.html">
|
|
110
|
+
Stacked Bar
|
|
111
|
+
</a>
|
|
112
|
+
</th>
|
|
113
|
+
<th>
|
|
114
|
+
<a href="https://marsilea.readthedocs.io/en/latest/examples/Gallery/plot_arc_diagram.html">
|
|
115
|
+
Arc Diagram
|
|
116
|
+
</a>
|
|
117
|
+
</th>
|
|
118
|
+
</tr>
|
|
119
|
+
</thead>
|
|
120
|
+
<tbody>
|
|
121
|
+
<tr>
|
|
122
|
+
<td>
|
|
123
|
+
<img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_tiobe_index_001_2_00x.png" height="300px">
|
|
124
|
+
</td>
|
|
125
|
+
<td>
|
|
126
|
+
<img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_oil_well_001_2_00x.png" height="300px">
|
|
127
|
+
</td>
|
|
128
|
+
<td>
|
|
129
|
+
<img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_arc_diagram_001_2_00x.png" width="300px">
|
|
130
|
+
</td>
|
|
131
|
+
</tr>
|
|
132
|
+
</tbody>
|
|
133
|
+
</table>
|
|
134
|
+
|
|
135
|
+
<table>
|
|
136
|
+
<thead>
|
|
137
|
+
<tr>
|
|
138
|
+
<th>
|
|
139
|
+
<a href="https://marsilea.readthedocs.io/en/latest/examples/Gallery/plot_pbmc3k.html">
|
|
140
|
+
Heatmap
|
|
141
|
+
</a>
|
|
142
|
+
</th>
|
|
143
|
+
<th>
|
|
144
|
+
<a href="https://marsilea.readthedocs.io/en/latest/examples/Gallery/plot_oncoprint.html">
|
|
145
|
+
Oncoprint
|
|
146
|
+
</a>
|
|
147
|
+
</th>
|
|
148
|
+
<th>
|
|
149
|
+
<a href="https://marsilea.readthedocs.io/en/latest/examples/Gallery/plot_upset.html">
|
|
150
|
+
Upsetplot
|
|
151
|
+
</a>
|
|
152
|
+
</th>
|
|
153
|
+
</tr>
|
|
154
|
+
</thead>
|
|
155
|
+
<tbody>
|
|
156
|
+
<tr>
|
|
157
|
+
<td>
|
|
158
|
+
<img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_pbmc3k_001_2_00x.png" width="300px">
|
|
159
|
+
</td>
|
|
160
|
+
<td>
|
|
161
|
+
<img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_oncoprint_005_2_00x.png" width="300px">
|
|
162
|
+
</td>
|
|
163
|
+
<td>
|
|
164
|
+
<img src="https://marsilea.readthedocs.io/en/latest/_images/sphx_glr_plot_upset_001_2_00x.png" width="300px">
|
|
165
|
+
</td>
|
|
166
|
+
</tr>
|
|
167
|
+
</tbody>
|
|
168
|
+
</table>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
marsilea/__init__.py,sha256=JcEA1veLIQxh9VhgwDL3yqf0Xo093E0yw3JvhDa5eqc,541
|
|
2
|
+
marsilea/_api.py,sha256=tymWZHfjhx8-0NNd9762znfdIu36NrARRweEIr5L1mA,283
|
|
3
|
+
marsilea/_deform.py,sha256=QRz4OGXMsQzbiIkC3ASzZayMPhHhoFsEK38oBzSeQG8,14440
|
|
4
|
+
marsilea/base.py,sha256=aj15043lJURGR83T3q8Y8UUpeVHHLsi8T9VLol6KB1I,47552
|
|
5
|
+
marsilea/dataset.py,sha256=a0mXjPu9_tRGHofnnQaTryFpxftkfqldq_ZLXMSBf7A,4410
|
|
6
|
+
marsilea/dendrogram.py,sha256=Ung43zseybZKzTEvH5P_ge3WGfsr7i7qsX7YEVDlC74,15590
|
|
7
|
+
marsilea/exceptions.py,sha256=wN5ElUZxuaJKSnnwWdkNx6P-Oc16dzSuaRPbRKWIBEM,1046
|
|
8
|
+
marsilea/heatmap.py,sha256=UhRcBFhx1JKrtndZPvQCDaiMt8Pb314PT1BtL-JndCY,4208
|
|
9
|
+
marsilea/layers.py,sha256=puXLlGGpEqAzaTqadpgpsYmIDPH33WyyHIuysRSqFZQ,12163
|
|
10
|
+
marsilea/layout.py,sha256=X8MGPlAbbr7dcZiqW4pI7sEb8U3jVaiS7t1DKOqMYLI,27758
|
|
11
|
+
marsilea/upset.py,sha256=U1Rsmo1WpCAV9z3LBlE2L4T0nAW9ols8Z36fXzmXycw,30388
|
|
12
|
+
marsilea/utils.py,sha256=y_KYs4ToiuKEsiBdmcIVtmxMXFpD4wKiJ0k7iBa11z8,2854
|
|
13
|
+
marsilea/plotter/__init__.py,sha256=6O05ShbbXdRmvbpLiEOBEZ_oZJkAMVh3Rh9jBU8QF-A,743
|
|
14
|
+
marsilea/plotter/_images.py,sha256=gb0xIQhUch3rNAt3FfvuUoamSGEynoBBBky2eE754ec,9560
|
|
15
|
+
marsilea/plotter/_seaborn.py,sha256=-0mtE-C_3zNjYWykJT5EMkJhU8FYCo12bBuJfbWvl3k,8264
|
|
16
|
+
marsilea/plotter/_utils.py,sha256=Efhdk-TrrAanhbXRiEVWThMYvZ4vVHZMVYMs5X3JvIM,710
|
|
17
|
+
marsilea/plotter/arc.py,sha256=44BKVGvDc_OpghfgEvaiVCovZe7_OwZiM20iepaRMFw,8139
|
|
18
|
+
marsilea/plotter/area.py,sha256=zjjAhvgKHYe9rqzcseqZqhwfpgvzm0w2FRJ_vr9Fxm4,2650
|
|
19
|
+
marsilea/plotter/bar.py,sha256=tXM5iR4cTkTrt55ff-aWoh7lxupKtA5vJ9Yn9hr7RkA,12067
|
|
20
|
+
marsilea/plotter/base.py,sha256=TbnZDjm161RF5OlK4TCfhCFR9lM96MJUrvAk_xTk_kQ,20657
|
|
21
|
+
marsilea/plotter/bio.py,sha256=34tucmxs4LM3TFZoGsrjnXTolyrzYaHVEiRe4dzDH68,5040
|
|
22
|
+
marsilea/plotter/mesh.py,sha256=eUMXX9PNHJXf9O4wpcRgO6uEFKlpft1LwshHgMuojp8,24176
|
|
23
|
+
marsilea/plotter/text.py,sha256=6S4mnAxLJLMkduKiyor03lPd86oTOJ5TojVREA9oU6s,37466
|
|
24
|
+
oncoprinter/__init__.py,sha256=efshcAD1h9s-NVJj4HLU9-hXc_LtTeIrNYqLHl-sm_g,106
|
|
25
|
+
oncoprinter/core.py,sha256=5KPnKW5ivlxPp14uJd0OtfTv-pXV2UEym8EbII2VCcw,11846
|
|
26
|
+
oncoprinter/preset.py,sha256=mBk2tFCqoTj_1ZZKRYuv4j2I3NTBa6Swc9wjzbmxRVw,8238
|
|
27
|
+
marsilea-0.4.3.dist-info/METADATA,sha256=edIeq4SMz38_uWLlkpiesySBghHd-1wEg72AYO7llFk,6576
|
|
28
|
+
marsilea-0.4.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
29
|
+
marsilea-0.4.3.dist-info/licenses/LICENSE,sha256=2TLD8FnLJqXzg8YBRs7W3VZBwfWfp4ArDfBl-rn96Qc,1074
|
|
30
|
+
marsilea-0.4.3.dist-info/RECORD,,
|
oncoprinter/__init__.py
ADDED