This lesson is only available in Korean for now.
Dr. Seok's Spatial Transcriptomics, First Steps

Data that also records
where each cell was

Single-cell RNA-seq tears cells out of the tissue to read them, and in that moment where they were is lost. Xenium spatial transcriptomics reads them with the tissue left intact โ€” so every cell has x and y coordinates, and so does every single mRNA molecule.
One slice of tumour: 198,792 cells and 95.48 million molecules. These 20 lessons are how you read those coordinates.

๐Ÿ Python๐Ÿ“ molecule coordinates๐Ÿ”ฌ tissue images โœ‚๏ธ cell segmentation๐Ÿงช negative controls๐Ÿงญ neighbourhood analysis๐ŸŽจ sliding gallery๐Ÿ‡ฌ๐Ÿ‡ง English
Start lesson 1 โ†’

How you'll learn

๐Ÿ“One molecule at a time

The smallest unit in this data is not a cell but an mRNA molecule. In a single field of view (200ร—200 ยตm) you handle the coordinates and quality scores of 356,319 molecules yourself.

๐Ÿ”ฌOn top of the real tissue image

You use the DAPI microscope image of that same field, exactly as captured. Overlay the molecules and the cell boundaries on it and what the data means becomes visible at a glance.

๐ŸงชError you can measure yourself

Xenium images 649 negative-control probes alongside the real ones. It is one of the rare datasets in which you can compute the false-positive rate yourself.

๐ŸงญThe questions position answers

โ€œHave the T cells got inside the tumour, or are they held at the margin?โ€ โ€” you answer questions single-cell data cannot touch and only spatial data can.

Full curriculum

01
์ขŒํ‘œ๊ฐ€ ์žˆ๋Š” ์ž๋ฃŒ โ€” ์„ธํฌ๋ฅผ ๋œฏ์–ด๋‚ด์ง€ ์•Š๊ณ  ์ฝ๋Š”๋‹ค
๊ณต๊ฐ„์ „์‚ฌ์ฒด๋ž€ ๋ฌด์—‡์ธ๊ฐ€ ยท GSE285341 ์ด ์ฃผ๋Š” ํŒŒ์ผ ์—ด๋‘ ๊ฐ€์ง€
โœ“
02
์‹คํ—˜ ๊ธฐ๋ก ์ฝ๊ธฐ โ€” ์ด ์ž๋ฃŒ๊ฐ€ ์–ด๋–ป๊ฒŒ ๋งŒ๋“ค์–ด์กŒ๋Š”์ง€
experiment.xenium ยท ํŒจ๋„ ยท ํ™”ํ•™ ๋ฒ„์ „ ยท ํ”ฝ์…€ ํฌ๊ธฐ
โœ“
03
์„ธํฌ ํ‘œ โ€” ํ•œ ์ค„์ด ์„ธํฌ ํ•˜๋‚˜, ๊ทธ๋ฆฌ๊ณ  ์ขŒํ‘œ๊ฐ€ ๋ถ™์–ด ์žˆ๋‹ค
cells.csv ์˜ ์—ด ์—ด๋„ค ๊ฐœ ยท ๋ฉด์ ๊ณผ ํ•ต
โœ“
04
์กฐ์ง ์ง€๋„ โ€” ์  19๋งŒ ๊ฐœ๋ฅผ ์ฐ์œผ๋ฉด ์ข…์–‘์ด ๋ณด์ธ๋‹ค
์ขŒํ‘œ๋กœ ๊ทธ๋ฆฌ๋Š” ์ฒซ ๊ทธ๋ฆผ ยท ํ˜„๋ฏธ๊ฒฝ ์ด๋ฏธ์ง€์™€ ๊ฒน์น˜๊ธฐ
โœ“
05
๋ถ„์ž ํ•˜๋‚˜ํ•˜๋‚˜ โ€” ์ž๋ฃŒ์˜ ์ง„์งœ ์ตœ์†Œ ๋‹จ์œ„
transcripts.zarr ยท xยทyยทz ์ขŒํ‘œ๋ฅผ ๊ฐ€์ง„ ์  9,548๋งŒ ๊ฐœ
โœ“
06
ํ’ˆ์งˆ ์ ์ˆ˜ โ€” ์ด ์ ์„ ๋ฏฟ์„ ๊ฒƒ์ธ๊ฐ€
codeword ํ•ด๋… ยท Q20 ๋ฌธํ„ฑ ยท ๊ฑธ๋Ÿฌ ๋‚ธ ๋’ค ๋‚จ๋Š” ๊ฒƒ
โœ“
07
์Œ์„ฑ ๋Œ€์กฐ๊ตฐ โ€” ๊ฑฐ์ง“์–‘์„ฑ๋ฅ ์„ ๋‚ด๊ฐ€ ์ง์ ‘ ์žฐ๋‹ค
์žˆ์„ ๋ฆฌ ์—†๋Š” ํƒ์นจ 649์ข… ยท ์„ธํฌ๋‹น ๊ฑฐ์ง“ ๋ถ„์ž 0.31๊ฐœ
โœ“
08
ํ‘œ์  ํŒจ๋„ โ€” ์ „์‚ฌ์ฒด ์ „์ฒด๊ฐ€ ์•„๋‹ˆ๋‹ค
5,006๊ฐœ๋งŒ ๋ณธ๋‹ค๋Š” ๊ฒƒ์˜ ๋œป ยท ๋‚ด ํ‘œ์ง€์ž๊ฐ€ ์—†์„ ๋•Œ
โœ“
09
์„ธํฌ ๋ถ„ํ•  โ€” ์–ด๋””๊นŒ์ง€๊ฐ€ ํ•œ ์„ธํฌ์ธ๊ฐ€
ํ•ต ์—ผ์ƒ‰ ยท ๊ฒฝ๊ณ„ ๋‹ค๊ฐํ˜• ยท ๋ถ„ํ• ์ด ๋ฐ”๋€Œ๋ฉด ์ž๋ฃŒ๊ฐ€ ๋ฐ”๋€๋‹ค
โœ“
10
๋ถ„์ž๋ฅผ ์„ธํฌ์— ๋ฐฐ์ •ํ•˜๊ธฐ โ€” ์ง์ ‘ ํ•ด ๋ณธ๋‹ค
์ ์ด ๋‹ค๊ฐํ˜• ์•ˆ์— ์žˆ๋Š”๊ฐ€ ยท ๋‚จ๋Š” ๋ถ„์ž ยท ์ƒˆ์–ด ๋‚˜๊ฐ„ ๋ถ„์ž
โœ“
11
ํ–‰๋ ฌ์ด ๋งŒ๋“ค์–ด์ง€๋Š” ์ˆœ๊ฐ„ โ€” ์—ฌ๊ธฐ์„œ ๋‹จ์ผ์„ธํฌ์™€ ๋งŒ๋‚œ๋‹ค
์„ธํฌ ร— ์œ ์ „์ž ยท ํ•˜์ง€๋งŒ ์ขŒํ‘œ๋ฅผ ์žƒ์ง€ ์•Š๋Š”๋‹ค
โœ“
12
๊ณต๊ฐ„ ์ž๋ฃŒ์˜ ํ’ˆ์งˆ๊ด€๋ฆฌ โ€” ํ‘œ๋ณธ๋งˆ๋‹ค ํ’ˆ์งˆ์ด ๋‹ค๋ฅด๋‹ค
์ „์‚ฌ์ฒด ์ˆ˜ ยท ๋ฉด์  ยท ๊ทธ๋ฆฌ๊ณ  DDX_PD1 ๋ฌธ์ œ
โœ“
13
๊ตฐ์ง‘๊ณผ ์„ธํฌ ์œ ํ˜• โ€” ์ขŒํ‘œ๋ฅผ ์“ฐ์ง€ ์•Š๊ณ  ๋จผ์ € ๋‚˜๋ˆˆ๋‹ค
๋ฐœํ˜„๋งŒ์œผ๋กœ ๊ตฐ์ง‘ ยท ํ‘œ์ง€์ž๋กœ ์ด๋ฆ„ ๋ถ™์ด๊ธฐ
โœ“
14
์ง€๋„์— ์ƒ‰์น ํ•˜๊ธฐ โ€” ๋ฐœํ˜„์œผ๋กœ ๋‚˜๋ˆˆ ๊ฒƒ์ด ๊ณต๊ฐ„์—์„œ ๋ง์ด ๋˜๋Š”๊ฐ€
์„ธํฌ ์œ ํ˜• ์ง€๋„ ยท ์ข…์–‘ ๋ฉ์–ด๋ฆฌ์™€ ๊ธฐ์งˆ ยท ๋ฐ€๋„ ๊ฒฉ์ž
โœ“
15
์Šฌ๋ผ์ด๋”ฉ ๊ฐค๋Ÿฌ๋ฆฌ โ€” ๊ณต๊ฐ„ ๋ฐ์ดํ„ฐ์…‹์„ 30์ดˆ์— ํ›‘๋Š”๋‹ค
๋ถ„์ž์—์„œ ์กฐ์ง๊นŒ์ง€ ์—ด์—ฌ์„ฏ ์žฅ๋ฉด
โœ“
16
์ด์›ƒ ๋ถ„์„ โ€” ๋ˆ„๊ฐ€ ๋ˆ„๊ตฌ ์˜†์— ์žˆ๋Š”๊ฐ€
kNN ยท ์ด์›ƒ ๊ตฌ์„ฑ ยท ๊ด€์ธก ๋Œ€ ๊ธฐ๋Œ€ ๋†์ถ•
โœ“
17
์นจ์œค ์ •๋„ ์žฌ๊ธฐ โ€” ์•ˆ๊นŒ์ง€ ๋“ค์–ด์™”๋Š”๊ฐ€, ๋ฌธ ์•ž์— ์žˆ๋Š”๊ฐ€
์ด ๊ฐ•์˜ ์ „์ฒด๊ฐ€ ํ–ฅํ•ด ์˜จ ์งˆ๋ฌธ
โœ“
18
T์„ธํฌ๋ฅผ ๋‹ค์‹œ ๋‚˜๋ˆˆ๋‹ค โ€” 5,006๊ฐœ ํŒจ๋„๋กœ ์–ด๋””๊นŒ์ง€ ๋˜๋‚˜
๋…ผ๋ฌธ Fig. 8Aยท8B ยท ๋“ค์–ด์˜จ T์„ธํฌ๊ฐ€ ์–ด๋–ค T์„ธํฌ์ธ๊ฐ€
โœ“
19
๋…ผ๋ฌธ Fig 8 ์„ ๊ฒฌ์ค€๋‹ค โ€” ํšจ๊ณผ T์„ธํฌ๋Š” ์–ด๋””์— ์žˆ๋‚˜
๋…ผ๋ฌธ Fig. 8Cยท8D ยท ๋„ค ๋ฐฉํ–ฅ ์ฃผ์žฅ ์ค‘ ๋ช‡ ๊ฐœ๊ฐ€ ๋งž๋‚˜
โœ“
20
๋„ค ์กฐ๊ฑด ๋น„๊ต โ€” ๊ทธ๋ฆฌ๊ณ  ๊ฒฐ๋ก ์„ ํ”๋“ค์–ด ๋ณธ๋‹ค
๋ฏผ๊ฐ๋„ ๋ถ„์„ ยท ํ’ˆ์งˆ ์ฐจ์ด๊ฐ€ ๋งŒ๋“  ๊ฒฐ๊ณผ์ธ๊ฐ€
โœ“
21
๊ณต๊ฐ„ ์ž๋ฃŒ์˜ ํ•จ์ • โ€” ๋ˆˆ์— ๋ณด์ด๊ธฐ ๋•Œ๋ฌธ์— ๋” ์œ„ํ—˜ํ•˜๋‹ค
๋ถ„ํ•  ยท ์ƒˆ์–ด ๋‚˜๊ฐ ยท ์ ˆํŽธ ยท ๊ฐ€์žฅ์ž๋ฆฌ ยท ๊ฒฉ์ž ํฌ๊ธฐ
โœ“
22
์šฐ๋ฆฌ๊ฐ€ ๋ณธ ๊ฒƒ๊ณผ ๋ชป ๋ณธ ๊ฒƒ โ€” ์ขŒํ‘œ๊ฐ€ ๋‹ตํ•˜๋Š” ์งˆ๋ฌธ
22๊ฐ• ์ •๋ฆฌ ยท ๋‘ ์ž๋ฃŒ๋ฅผ ๊ฒน์ณ ์ฝ๊ธฐ ยท ๋‹ค์Œ์œผ๋กœ
โœ“