91肥熟国产老肥熟女,亚洲天堂在线观看视频,国产真实乱婬A片三区高清蜜臀,国产做受91 一片二
 分類: 時空組學, 智能制造
  1. Open the script file

“`markdown

source(‘xxx’) # ‘xxx’ script path, for example ‘C:/Users/R/Desktop/qq.R’

“`

  1. Create a Seurat object and generate a spatial clustering plot

– `FilePath`: Directory path containing “barcode.tsv.gz, barcode_pos.tsv.gz, feature.tsv.gz, matrix.mtx.gz” files.

– `barcode_pos_file`: File path for “barcode_pos.tsv.gz.”

– `out_path`: Output directory.

– `png_path`: H&E staining image (.png format). If using .tiff format, make sure to convert it, and consider reducing the resolution during conversion to avoid large .png files that may fail to load. Note that the Seurat object’s name must be “object.”

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/Cluster/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

min.cells = 10, ????????# Minimum cells for a gene to be retained, adjustable (default: 10).

min.features = 100, ????# Minimum features for a cell to be retained, adjustable (default: 100).

dims = 1:30, ?????????# Number of principal components for subsequent analysis, adjustable (default: 1:30).

resolution = 0.5, ??????# Set the granularity for downstream analysis, higher values yield more clusters, adjustable (default: 0.5).

point_size = 3, ???????# Point size, adjustable based on matrix file level (smaller level requires smaller values).

width = 12, ?????????# Output image width, adjustable (default: 12).

height = 5, ?????????# Output image height, adjustable (default: 5).

Cluster = T, ????????# Perform clustering analysis (default: False).

label = T ??????????# Output clustered image with labels (default: True).

)

“`

umap_cluster_label

  1. UMI Statistics

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/UMI_stat/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

point_size = 3, ????# Same as above.

width = 12, ??????# Same as above.

height = 5, ????????# Same as above.

UMI_stat = T ?????# Whether to perform UMI statistics (default: True).

)

“`

UMI_viol_heatmap

  1. nFeature Statistics

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/Gene_stat/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

point_size = 2, ????????# Same as above.

width = 12, ??????????# Same as above.

height = 5, ??????????# Same as above.

nFeature_stat = T ????# Whether to perform nFeature statistics (default: True).

)

nFeature_viol_heatmap

  1. Output Marker Genes for Each Cluster and Create Expression Heatmaps for Single Genes

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/Single_gene_1/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

point_size = 2, ????????????????# Same as above.

Gene_stat = T, ????????????????# Whether to generate marker gene plots (default: False).

top_gene = 1, ????????????????# Number of top marker genes to select for each cluster, adjustable (default: 1).

min.pct = 0.25, ???????????????# Minimum percentage of a gene’s presence in any two cell groups, adjustable (default: 0.25).

logfc.threshold = 0.25, ?????????# Log-fold change threshold, adjustable (default: 0.25).

markpic_width = 8, ???????????# Width of violin and tsne plots, adjustable.

markpic_height = 12 ??????????# Height of violin and tsne plots, adjustable.

)“`

Heatmaps?list

  1. Generate Cluster Plots for Specific Gene(s)

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/Test/Single_gene_2/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

point_size = 2.6, ???????????????# Same as above.

Gene_stat = T, ????????????????# Whether to generate marker gene plots (default: False).

Custom_gene = T, ????????????# Whether to perform custom gene plotting (default: False).

alpha_continuous = c(0.5,1), ???# Adjust transparency based on gene expression levels.

gene_list = c(‘Hpca’) ?????????# List of genes to plot, you can input multiple genes.

)

“`

Hpca

Generate Cluster Plots for Specific Gene(s) with Dark Background

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/Test/Single_gene_2/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

point_size = 2.6, ?????????????????# Same as above.

Gene_stat = T, ??????????????????# Whether to generate marker gene plots (default: False).

Custom_gene = T, ??????????????# Whether to perform custom gene plotting (default: False).

dark_background = T, ??????????# Use a dark background (default: False).

gene_list = c(‘Hpca’) ???????????# List of genes to plot, you can input multiple genes.

)

“`

Hpca

Hpca

  1. Generate a Clustering Plot for a Single Cluster

“`R

object <- Create_object(

FilePath = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/’,

barcode_pos_file = ‘E:/AAAWork/BSTViewer_project/subdata/L13_heAuto/barcodes_pos.tsv.gz’,

out_path = ‘C:/Users/R/Desktop/temp/TestL6/single/’,

png_path = ‘C:/Users/R/Desktop/temp/he.png’,

point_size = 2, ?????????# Same as above.

Single_cluster = T ??????# Whether to generate a clustering plot for a single cluster (default: False).

)

cluster1

cluster1

Single?cluster

Single?cluster

最近文章
日本猛少妇BBB欧美一级毛片 | 国产全黄裸体一级A片 | 国偷自拍AV一区二区三区在线 | 极品少妇无码高潮喷 | 少妇性色午夜婬片AAA片软件 | 人妻丰满熟妇av无码久久奶水 | 色情在线观看真人影院 | 人人妻人人爽人人添夜夜 | 色偷偷超碰丁香六月 | 国产国产乱老熟女视频网站97 | 97丨牛牛丨国产人妻 | 毛片无遮挡A片免费无码 | 成人免费视频在线观看 | 国产人妻偷情中文字幕 | 欧美一级Aa毛片免费视频小说 | 少妇被c 黄 在线视频 | 中国大学生老师性服务黄色片一区二区 | 国产在线蜜臀视频网站 | 精品久久久久久无码人妻热桃花 | 搡BBBB搡BBBB搡BBB | 丰满老妇高潮一级A片 | 91探花国产综合在线精品 | 亚洲一區二區三区久久久成人動漫 | 亚洲第色情一区二区白洁 | 国产一级特黄a高潮片 | 无码精品少妇一区二区三区久久 | 黄色成人片多人毛片 | 国产人妻黑人一区二区三区 | 黄色熟妇熟妇黄色电影熟妇99 | 成人网站在线免费观看 | 免费一级a毛一级a看免费视频下载 | 成人久久一区二区三区 | 91无码人妻精品国产色欲毛片 | 国产精品女人大叫高潮片 | 国产一区二区视频在线观看视频 | 丰满的岳 6699| 黑人人体性较视频B级 | 精品人妻人人做人人爽 | 特级BBBBBBBBB视频 | 91免费国产在线观看 | 成人无码AAAA一片黄 |