|
5878 | 5878 | "sample_dp_mean = dp.mean(dim=\"variants\")\n",
|
5879 | 5879 | "sample_dp_mean.attrs[\"long_name\"] = \"Mean Sample DP\"\n",
|
5880 | 5880 | "ds[\"sample_dp_mean\"] = sample_dp_mean # add new data array to dataset\n",
|
5881 |
| - "ds.plot.scatter(x=\"sample_dp_mean\", y=\"sample_call_rate\", size=8, s=10);" |
| 5881 | + "# Following does not work with recent versions of xarray, see https://github.com/pystatgen/sgkit/issues/934\n", |
| 5882 | + "#ds.plot.scatter(x=\"sample_dp_mean\", y=\"sample_call_rate\", size=8, s=10);" |
5882 | 5883 | ]
|
5883 | 5884 | },
|
5884 | 5885 | {
|
|
13116 | 13117 | "ds_pca[\"sample_pca_projection_0\"] = ds_pca.sample_pca_projection[:,0]\n",
|
13117 | 13118 | "ds_pca[\"sample_pca_projection_1\"] = ds_pca.sample_pca_projection[:,1]\n",
|
13118 | 13119 | "ds_pca[\"sample_pca_projection_2\"] = ds_pca.sample_pca_projection[:,2]\n",
|
13119 |
| - "ds_pca.plot.scatter(x=\"sample_pca_projection_0\", y=\"sample_pca_projection_1\", hue=\"SuperPopulation\", size=8, s=10);" |
| 13120 | + "# Following does not work with recent versions of xarray, see https://github.com/pystatgen/sgkit/issues/934\n", |
| 13121 | + "#ds_pca.plot.scatter(x=\"sample_pca_projection_0\", y=\"sample_pca_projection_1\", hue=\"SuperPopulation\", size=8, s=10);" |
13120 | 13122 | ]
|
13121 | 13123 | },
|
13122 | 13124 | {
|
|
13223 | 13225 | "name": "python",
|
13224 | 13226 | "nbconvert_exporter": "python",
|
13225 | 13227 | "pygments_lexer": "ipython3",
|
13226 |
| - "version": "3.8.16" |
| 13228 | + "version": "3.10.12" |
13227 | 13229 | }
|
13228 | 13230 | },
|
13229 | 13231 | "nbformat": 4,
|
|
0 commit comments