IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 嵌入式 -> createGiottoVisiumObject从10x原始数据创建 giotto对象 -> 正文阅读

[嵌入式]createGiottoVisiumObject从10x原始数据创建 giotto对象

creates Giotto object directly from a 10X visium folder

原始数据文件夹子
在这里插入图片描述
1## provide path to visium folder
dir.create( “G:/silicosis/sicosis/gitto/silicosis_data/”)
data_path = “G:/silicosis/sicosis/gitto/silicosis_data/”

visium_brain = createGiottoVisiumObject(visium_dir = data_path,

  •                                     h5_visium_path = "G:/raw_material for omics_chaojie/silicosis for spatial transcription/B26/2.3.h5_files/filtered_feature_bc_matrix.h5",
    
  •                                     h5_gene_ids = c("symbols"),
    
  •                                     h5_image_png_path= "G:/raw_material for omics_chaojie/silicosis for spatial transcription/B26/spatial/tissue_lowres_image.png", 
    
  •                                     h5_tissue_positions_path = "G:/raw_material for omics_chaojie/silicosis for spatial transcription/B26/spatial/tissue_positions_list.csv",
    
  •                                     instructions = instrs)
    

A path to an .h5 10X file was provided and will be used
Consider to install these (optional) packages to run all possible Giotto commands for spatial analyses: smfishHmrf trendsceek SPARK multinet RTriangle FactoMiner
Giotto does not automatically install all these packages as they are not absolutely required and this reduces the number of dependencies

createGiottoVisiumObject(
visium_dir = NULL,
expr_data = c(“raw”, “filter”),
gene_column_index = 1,
h5_visium_path = NULL,
h5_gene_ids = c(“symbols”, “ensembl”),
h5_tissue_positions_path = NULL,
h5_image_png_path = NULL,
png_name = NULL,
xmax_adj = 0,
xmin_adj = 0,
ymax_adj = 0,
ymin_adj = 0,
instructions = NULL,
cores = NA,
verbose = TRUE
)
Arguments
visium_dir
path to the 10X visium directory [required]

expr_data
raw or filtered data (see details)

gene_column_index
which column index to select (see details)

h5_visium_path
path to visium 10X .h5 file

h5_gene_ids
gene names as symbols (default) or ensemble gene ids

h5_tissue_positions_path
path to tissue locations (.csv file)

h5_image_png_path
path to tissue .png file (optional)

png_name
select name of png to use (see details)

xmax_adj
adjustment of the maximum x-value to align the image

xmin_adj
adjustment of the minimum x-value to align the image

ymax_adj
adjustment of the maximum y-value to align the image

ymin_adj
adjustment of the minimum y-value to align the image

instructions
list of instructions or output result from createGiottoInstructions

cores
how many cores or threads to use to read data if paths are provided

verbose
be verbose

Value
giotto object

Details
If starting from a Visium 10X directory:

expr_data: raw will take expression data from raw_feature_bc_matrix and filter from filtered_feature_bc_matrix

gene_column_index: which gene identifiers (names) to use if there are multiple columns (e.g. ensemble and gene symbol)

png_name: by default the first png will be selected, provide the png name to override this (e.g. myimage.png)

If starting from a Visium 10X .h5 file

h5_visium_path: full path to .h5 file: /your/path/to/visium_file.h5

h5_tissue_positions_path: full path to spatial locations file: /you/path/to/tissue_positions_list.csv

h5_image_png_path: full path to png: /your/path/to/images/tissue_lowres_image.png

  嵌入式 最新文章
基于高精度单片机开发红外测温仪方案
89C51单片机与DAC0832
基于51单片机宠物自动投料喂食器控制系统仿
《痞子衡嵌入式半月刊》 第 68 期
多思计组实验实验七 简单模型机实验
CSC7720
启明智显分享| ESP32学习笔记参考--PWM(脉冲
STM32初探
STM32 总结
【STM32】CubeMX例程四---定时器中断(附工
上一篇文章      下一篇文章      查看所有文章
加:2022-03-21 21:07:25  更:2022-03-21 21:09:49 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/26 6:31:27-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码