Skip to content

Commit

Permalink
Merge branch 'documentation-devel' of github.com:pachterlab/voyager i…
Browse files Browse the repository at this point in the history
…nto documentation-devel
  • Loading branch information
lambdamoses committed Jul 31, 2023
2 parents 5fa4f81 + a236e5a commit c821328
Show file tree
Hide file tree
Showing 32 changed files with 4,180 additions and 1,394 deletions.
98 changes: 49 additions & 49 deletions vignettes/bivariate.ipynb

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions vignettes/create_sfe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "raw",
"id": "f5053e64",
"id": "3382a7e2",
"metadata": {},
"source": [
"---\n",
Expand All @@ -25,7 +25,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4819ec20",
"id": "328f1ab0",
"metadata": {
"tags": [
"remove_cell"
Expand All @@ -42,7 +42,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ef159e74",
"id": "c544f376",
"metadata": {
"eval": false,
"tags": [
Expand Down Expand Up @@ -80,7 +80,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ca70a097",
"id": "b55fe9ad",
"metadata": {
"name": "setup"
},
Expand All @@ -94,7 +94,7 @@
},
{
"cell_type": "markdown",
"id": "d0fa5e99",
"id": "bf87c947",
"metadata": {},
"source": [
"# Visium Space Ranger output\n",
Expand All @@ -105,7 +105,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0688346c",
"id": "f41297ce",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -120,7 +120,7 @@
},
{
"cell_type": "markdown",
"id": "4c734c91",
"id": "5d6d1fcd",
"metadata": {},
"source": [
"The results for each tissue capture should be in the `outs` directory. Inside the `outs` directory there are two directories: `raw_reature_bc_matrix` has the unfiltered gene count matrix, and `spatial` has the spatial information. "
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d2d28440",
"id": "08a168aa",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -138,7 +138,7 @@
},
{
"cell_type": "markdown",
"id": "d580869c",
"id": "fdd27f50",
"metadata": {},
"source": [
"The [`DropletUtils`](https://bioconductor.org/packages/release/bioc/html/DropletUtils.html) package has a function `read10xCounts()` which reads the gene count matrix. SPE reads in the spatial information, and SFE uses the spatial information to construct Visium spot polygons and spatial neighborhood graphs. Inside the `spatial` directory:"
Expand All @@ -147,7 +147,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bb0f804f",
"id": "57661df2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -156,7 +156,7 @@
},
{
"cell_type": "markdown",
"id": "f36a2945",
"id": "944e3dc0",
"metadata": {},
"source": [
"`tissue_lowres_image.png` is a low resolution image of the tissue.\n",
Expand All @@ -167,7 +167,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e35e48f8",
"id": "103b44a5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -176,7 +176,7 @@
},
{
"cell_type": "markdown",
"id": "b74c3f68",
"id": "02ebb7b4",
"metadata": {},
"source": [
"`spot_diameter_fullres` is the diameter of each Visium spot in the full resolution H&E image in pixels. `tissue_hires_scalef` and `tissue_lowres_scalef` are the ratio of the size of the high resolution (but not full resolution) and low resolution H&E image to the full resolution image. `fiducial_diameter_fullres` is the diameter of each fiducial spot used to align the spots to the H&E image in pixels in the full resolution image.\n",
Expand All @@ -189,7 +189,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "690a6511",
"id": "97e09c58",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -200,7 +200,7 @@
},
{
"cell_type": "markdown",
"id": "f7305ce0",
"id": "8a951eeb",
"metadata": {},
"source": [
"Space Ranger output includes the gene count matrix, spot coordinates, and spot diameter. The Space Ranger output does NOT include nuclei segmentation or pathologist annotation of histological regions. Extra image processing, such as with ImageJ and QuPath, are required for those geometries.\n",
Expand All @@ -212,7 +212,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e9b5eef1",
"id": "e272937c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -223,7 +223,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5227ab58",
"id": "1bff4251",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -232,7 +232,7 @@
},
{
"cell_type": "markdown",
"id": "d52b14cb",
"id": "85348c76",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -246,7 +246,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6675ee29",
"id": "60a9273d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -267,7 +267,7 @@
},
{
"cell_type": "markdown",
"id": "47215b7f",
"id": "d83bef95",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -278,7 +278,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7fce8954",
"id": "1f49f084",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -289,7 +289,7 @@
},
{
"cell_type": "markdown",
"id": "63c48764",
"id": "d98029cc",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -302,7 +302,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cb67ef2f",
"id": "a917149a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -314,7 +314,7 @@
},
{
"cell_type": "markdown",
"id": "2cd2a7b2",
"id": "646aa717",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -331,7 +331,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "17f61d10",
"id": "d92abeb4",
"metadata": {
"eval": false
},
Expand All @@ -351,7 +351,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b6132a18",
"id": "67f52927",
"metadata": {
"eval": false
},
Expand All @@ -370,7 +370,7 @@
},
{
"cell_type": "markdown",
"id": "76ff02a1",
"id": "3a0df48b",
"metadata": {},
"source": [
"### Cell polygons\n",
Expand All @@ -382,7 +382,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3f2467a4",
"id": "7a3f49d7",
"metadata": {
"eval": false
},
Expand All @@ -398,7 +398,7 @@
},
{
"cell_type": "markdown",
"id": "49109a19",
"id": "461f4a37",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -409,7 +409,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "26777246",
"id": "59d97f44",
"metadata": {
"eval": false
},
Expand All @@ -425,7 +425,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e3d97e45",
"id": "31bbfb30",
"metadata": {
"eval": false
},
Expand All @@ -442,7 +442,7 @@
},
{
"cell_type": "markdown",
"id": "67e7ed95",
"id": "ba2c5ab6",
"metadata": {
"lines_to_next_cell": 0
},
Expand All @@ -457,7 +457,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "922fd6dd",
"id": "6a433248",
"metadata": {},
"outputs": [],
"source": [
Expand Down
Loading

0 comments on commit c821328

Please sign in to comment.