三年成全在线观看大全,中文字幕av一区二区,免费看的黄色视频,中文字幕无码在线
 分類: 時(shí)空組學(xué), 智能制造
  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

最近文章
久久精品人妻一区二区三区蜜桃 | 人妻无码久久一区二区免费麻豆 | 欧美在线无码精品秘 蜜桃 国产精品一级无码毛片视频 | 国产精华一区二区三区 | 国产精品 日本 欧美 | 国产无码精品在线观看 | 亚洲高潮丝袜美女AV一区 | 无码窝视频在线观看17c | 国产真实乱婬A片三区高 | 国产婬片一级A片AAA毛片AⅤ | 天天爽夜夜爽精品一区二区 | 开心婷婷五月色蜜桃在线 | 看国产熟妇乱子伦 | 黄色三a三级国产色情无码 熟妇人妻中文字幕av无码 | 亚洲自拍偷拍中文无码 | 最新无码人妻在线不卡 | 色噜噜狠狠一区二区三区Av蜜芽 | 欧美寡妇一级A片免费视频 91少妇高潮呻吟无码精品 | 国产精品福利一区二区三区四季 | 黄色视频网站赤裸网站 | 日韩高清无码二区 | 国产精品久久久爽爽爽麻豆色哟哟 | 国产最大最粗无套内谢 | 国产乱婬A∨片免费视频牛牛 | 国产精品人妻无码久久久久 | 91午夜人妻人人做人爽 | 天堂Aⅴ无码一区二区三区 中文字幕永久哔哔免费播放 | 妃光莉在线播放69Av | 欧美激情婬妇A片AAA毛多水多 | 国偷自产Av一区二区三区换脸 | 伦伦影院午夜理论片痴汉 | 91精品又粗又猛又爽 | 国产AV无码片毛片一级久老师 | 97成人做爰A片无遮挡直播 | 又大又粗又硬又爽又黄毛片视频 | 亚洲无码久久久久 | 日韩丝袜人妻 中文字幕 | 91在线观看theporn免费 | 色情一区二区三区四区 | 我丰满的岳 愉情无遮挡 | 一本一道人妻久久久久久中文字幕 |