91肥熟国产老肥熟女,亚洲天堂在线观看视频,国产真实乱婬A片三区高清蜜臀,国产做受91 一片二
 分類: 時(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

最近文章
精品国产无码在线观看 | 少妇一级特黄大片 | 国产精品三级在线观看 | 欧美黄网站在线免费播放 | 国产乱妇乱子在线播放视频国产 | 欧美成人视频 - ThePorn | 国产精品高潮玲珑久久AV无码 | 无套内谢的新婚少妇国语播放 | 国产精品一区二区三区在线 | 8x8ⅹ拔擦拨擦免费入口 | 久久成人电影免费在线观看 | 人妻熟妇国产乱码精品精 | 国产+无码+精品十欧美 | 日本一木道无码人妻精品 | 国产精品偷乱一区二区三区 | 91亚洲精品乱码久久久久久蜜桃 | 媚黑婊和黑人国产精品 | 亚洲AV秘 无码一区小夕野子 | 人人妻人人洗澡人人 | 粉嫩小泬无套jk喷白浆 | 全免费A级毛片免费看无码 亚洲AV无码乱码精品裸果 | 国产精品久久久久久久免费看 | 欧一美一交一配一交一交一视频 | 国产成人精品午夜免费 | 久久这里只有精品10 | 十大免费看黄网站 | 911精品人妻一区二区三区A片 | 中文字幕曰本髙清无码 | 91人伦人妻中文字幕无码 | 91精品无码少妇久久 | 国产寡妇婬乱A毛片视频中文 | 亚洲精品在线视频 | 成人免费A片在线观看直播96 | 特级西西4444WWW无码 | 日本熟妇无码一区二区 | 亚洲国产精品中文视频 | 少妇高潮婬片A片免费 | 久久久久亚洲AV成人片乱码 | 91麻豆精品A片国产在线观看 | 91人人妻人人做人人爽男同 | 人妻少妇91精品一区黑人 |