diff --git a/docs/scrna.ipynb b/docs/scrna.ipynb index 69eed3b..923b1bb 100644 --- a/docs/scrna.ipynb +++ b/docs/scrna.ipynb @@ -117,7 +117,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "curate = ln.Curate.from_anndata(\n", @@ -136,7 +140,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "curate.add_new_from_var_index()" @@ -145,7 +153,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "curate.validate()" @@ -154,7 +166,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "curate.add_new_from(\"donor\")\n", @@ -164,7 +180,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "curate.add_validated_from(\"all\")" @@ -173,7 +193,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "curate.validate()" @@ -199,15 +223,46 @@ "artifact = curate.save_artifact(description=\"Human immune cells from Conde22\")" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "It is annotated with rich metadata:" + ] + }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "artifact.describe()" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can also see the types of the metadata:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "tags": [ + "hide-output" + ] + }, + "outputs": [], + "source": [ + "artifact.describe(print_types=True)" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -254,7 +309,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ "collection.describe()" @@ -270,10 +329,14 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "tags": [ + "hide-output" + ] + }, "outputs": [], "source": [ - "collection.ordered_artifacts" + "collection.artifacts" ] }, {