diff --git a/README.md b/README.md new file mode 100644 index 0000000..d2518b5 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# mPFC-web + + + + +The goal of mPFC-web is to show scRNAseq data and in situ data from our research! + +For more information, please enter our website: + + + + diff --git a/docs/index.html b/docs/index.html index dcd2e01..6668630 100644 --- a/docs/index.html +++ b/docs/index.html @@ -111,7 +111,8 @@

On this page

@@ -147,13 +148,22 @@

mPFC-web

-
-

Barcode image

+
+

scRNAseq data

This just a test!

-
- +
+ +
+
+
+
+

in situ data

+
+
+
+
diff --git a/docs/search.json b/docs/search.json index a7530fb..b0b8886 100644 --- a/docs/search.json +++ b/docs/search.json @@ -4,7 +4,7 @@ "href": "index.html", "title": "mPFC-web", "section": "", - "text": "Barcode image\nThis just a test!" + "text": "This just a test!" }, { "objectID": "about.html", @@ -12,5 +12,19 @@ "title": "About", "section": "", "text": "About this site\n\n1 + 1\n\n[1] 2" + }, + { + "objectID": "index.html#scrnaseq-data", + "href": "index.html#scrnaseq-data", + "title": "mPFC-web", + "section": "", + "text": "This just a test!" + }, + { + "objectID": "index.html#in-situ-data", + "href": "index.html#in-situ-data", + "title": "mPFC-web", + "section": "in situ data", + "text": "in situ data" } ] \ No newline at end of file diff --git a/index.qmd b/index.qmd index 61bacdc..6fad002 100644 --- a/index.qmd +++ b/index.qmd @@ -5,8 +5,7 @@ date: 2023.07.12 --- - -# Barcode image +## scRNAseq data This just a test! @@ -74,8 +73,54 @@ vc$widget(theme = "light", width = "100%") +## in situ data + +```{r} +#| echo: false + +library(vitessceR) + +# Define the image file options object. +file_options = obj_list( + schemaVersion = "0.0.2", + images = list( + obj_list( + name = "My Image", + type = "ome-tiff", + url = "https://vitessce-demo-data.storage.googleapis.com/exemplar-001/exemplar-001.pyramid.ome.tif" + ) + ), + renderLayers = list( + "My Image" + ) +) + +# Create Vitessce view config +vc <- VitessceConfig$new("My config") +dataset <- vc$add_dataset("My dataset")$add_file( + data_type = DataType$RASTER, + file_type = FileType$RASTER_JSON, + options = file_options +) +spatial <- vc$add_view(dataset, Component$SPATIAL) +spatial_layers <- vc$add_view(dataset, Component$LAYER_CONTROLLER) +status <- vc$add_view(dataset, Component$STATUS) +desc <- vc$add_view(dataset, Component$DESCRIPTION) +desc <- desc$set_props(description = "Visualization of an OME-TIFF file.") +vc$layout(hconcat( + spatial, + hconcat(spatial_layers, vconcat(desc, status)) +)) +``` + +```{r} +#| message: false +#| echo: false +# Render the Vitessce widget +vc$widget(theme = "light", width = "100%") +```