{ "cells": [ { "cell_type": "markdown", "id": "54eb09d8", "metadata": {}, "source": [ "# Applying `MCube` to the DLPFC dataset" ] }, { "cell_type": "code", "execution_count": 1, "id": "07d502d4", "metadata": { "vscode": { "languageId": "r" } }, "outputs": [], "source": [ "set.seed(20240709)\n", "library(MCube)\n", "library(ggplot2)" ] }, { "cell_type": "code", "execution_count": 2, "id": "dfafd139", "metadata": { "vscode": { "languageId": "r" } }, "outputs": [], "source": [ "RAW_DATA_PATH <- \"/import/home/share/zw/data/DLPFC\" # H&E images\n", "DATA_PATH <- \"/import/home/share/zw/pql/data/DLPFC\"\n", "RESULT_PATH <- \"/import/home/share/zw/pql/results/DLPFC\"\n", "\n", "if (!dir.exists(file.path(RESULT_PATH))) {\n", " dir.create(file.path(RESULT_PATH), recursive = TRUE)\n", "}" ] }, { "cell_type": "code", "execution_count": 3, "id": "4cacb6ff", "metadata": { "vscode": { "languageId": "r" } }, "outputs": [ { "data": { "text/html": [ "\n", "
| All slices | Slice 151673 | Slice 151674 | Slice 151675 | Slice 151676 | |
|---|---|---|---|---|---|
| COX6C | TRUE | TRUE | TRUE | TRUE | TRUE |
| CAMK2N1 | TRUE | TRUE | TRUE | TRUE | TRUE |
| TUBA1B | TRUE | TRUE | TRUE | TRUE | TRUE |
| ENC1 | TRUE | TRUE | TRUE | TRUE | TRUE |
| SYT1 | TRUE | TRUE | TRUE | TRUE | TRUE |
| TMSB10 | TRUE | TRUE | TRUE | TRUE | TRUE |