代谢组学富集分析kegg 功能富集(R包 METABOSIGNAL )

news/2024/12/29 6:20:15/

代谢产物差异分析 | 生信菜鸟团 icon-default.png?t=N5K3http://www.bio-info-trainee.com/8512.html

MetaboSignal2.knit

使用MetaboDiff包分析非靶向代谢组数据 - 简书最近手里有个非靶向代谢组的数据,通过学习MetaboDiff包来熟悉代谢组分析的思路和流程,接下来的流程来自于MetaboDiff包官方帮助文档。 1. MetaboDiff...https://www.jianshu.com/p/80af83c2f630https://www.metaboanalyst.ca/docs/RTutorial.xhtmlicon-default.png?t=N5K3https://www.metaboanalyst.ca/docs/RTutorial.xhtmlhttps://www.metaboanalyst.ca/docs/APIs.xhtml

物尽其用|最全的HMDB数据库使用教程在这里

    The different options for input.type are given below:name - Compound name (e.g., 1,3-Diaminopropane)hmdb - Human Metabolome Database (e.g., HMDB0000002)pubchem - PubChem Substance and Compound databases(e.g., 428)chebi - Chemical Entities of Biological Interest(e.g., 15725)metlin - Metabolite and Chemical Entity Database (e.g., 5081)kegg - KEGG COMPOUND Database (e.g., C00986)

https://drive.google.com/file/d/1bLHQC8G7n9XyBG4Vim63hhICb4Qtw36M/viewicon-default.png?t=N5K3https://drive.google.com/file/d/1bLHQC8G7n9XyBG4Vim63hhICb4Qtw36M/view

2.1 Over representation analysis
We will go over two analysis workflows, the first is when the input is a list to perform over representation

analysis. The first step is to create a vector containing a list of compound names. The list will then be cross-
referenced (CrossReferencing) against the MetaboAnalyst compound libraries (HMDB, PubChem, KEGG,

etc.), and any compounds without a hit will have NA. This step may take long due to downloading of libraries
if they do not already exist in your working directory.

InitDataObjects {MetaboAnalystR}

R Documentation

Constructs a dataSet object for storing data

Description

This functions handles the construction of a mSetObj object for storing data for further processing and analysis. It is necessary to utilize this function to specify to MetaboAnalystR the type of data and the type of analysis you will perform.

Usage

InitDataObjects(data.type, anal.type, paired=FALSE)

Arguments

data.type

The type of data, either list (Compound lists), conc (Compound concentration data), specbin (Binned spectra data), pktable (Peak intensity table), nmrpeak (NMR peak lists), mspeak (MS peak lists), or msspec (MS spectra data)

anal.type

Indicate the analysis module to be performed: stat, pathora, pathqea, msetora, msetssp, msetqea, mf, cmpdmap, smpmap, or pathinteg

paired

Indicate if the data is paired or not. Logical, default set to FALSE

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

==============================

CreateMappingResultTable {MetaboAnalystR}

R Documentation

Creates the mapping result table

Description

Creates the mapping result table

Usage

CreateMappingResultTable(mSetObj = NA)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)


[Package MetaboAnalystR version 4.0.0 Index]

---------------==============================================

CrossReferencing {MetaboAnalystR}

R Documentation

Various functions for mapping b/w names & database identifiers Given a list of compound names or ids, find matched name or ids from selected databases

Description

Given a list of compound names or ids find matched name or IDs from selected databases

Usage

CrossReferencing(mSetObj = NA,q.type,hmdb = T,pubchem = T,chebi = F,kegg = T,metlin = F,lipid = F
)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects).

q.type

Input the query type, "name" for compound names, "hmdb" for HMDB IDs, "kegg" for KEGG IDs, "pubchem" for PubChem CIDs, "chebi" for ChEBI IDs, "metlin" for METLIN IDs, and "hmdb_kegg" for a both KEGG and HMDB IDs.

hmdb

Logical, T to cross reference to HMDB, F to not.

pubchem

Logical, T to cross reference to PubChem, F to not.

chebi

Logical, T to cross reference to CheBI, F to not.

kegg

Logical, T to cross reference to KEGG, F to not.

metlin

Logical, T to cross reference to MetLin, F to not.

lipid

Logical, if features are lipids (T), a different database will be used for compound matching.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

========================================

PerformDetailMatch {MetaboAnalystR}

R Documentation

Perform detailed name match

Description

Given a query, perform compound matching.

Usage

PerformDetailMatch(mSetObj = NA, q)

Arguments

mSetObj

Input name of the created mSet Object.

q

Input the query.

===================

SetCandidate {MetaboAnalystR}R Documentation

Set matched name based on user selection from all potential hits

Description

Note: to change object in the enclosing enviroment, use "<<-"

Usage

SetCandidate(mSetObj = NA, query_nm, can_nm)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects).

query_nm

Input the query name.

can_nm

Input the candidate name.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

 ====-------------

SetMetabolomeFilter {MetaboAnalystR}R Documentation

Set metabolome filter

Description

Set metabolome filter

Usage

SetMetabolomeFilter(mSetObj = NA, TorF)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

TorF

Input metabolome filter

-================

SetCurrentMsetLib {MetaboAnalystR}

R Documentation

Set current user selected metset library for search

Description

if enrichment analysis, also prepare lib by creating a list of metabolite sets

Usage

SetCurrentMsetLib(mSetObj=NA, libname, excludeNum)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

libname

Input user selected name of library, "self", "kegg_pathway", "smpdb_pathway", "blood", "urine", "csf", "snp", "predicted", "location", and "drug".

excludeNum

Users input the mimimum number compounds within selected metabolite sets (metabolitesets < excludeNum)

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL

-----------------------

CalculateHyperScore {MetaboAnalystR}R Documentation

Over-representation analysis using hypergeometric tests

Description

Over-representation analysis using hypergeometric tests The probability is calculated from obtaining equal or higher number of hits using 1-phyper. Since phyper is a cumulative probability, to get P(X>=hit.num) => P(X>(hit.num-1))

Usage

CalculateHyperScore(mSetObj = NA)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

====================

PlotORA {MetaboAnalystR}R Documentation

Plot over-representation analysis (ORA)

Description

Plot over-representation analysis (ORA)

Usage

PlotORA(mSetObj=NA, imgName, imgOpt, format="png", dpi=72, width=NA)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

imgName

Input a name for the plot

imgOpt

"net"

format

Select the image format, "png", or "pdf".

dpi

Input the dpi. If the image format is "pdf", users need not define the dpi. For "png" images, the default dpi is 72. It is suggested that for high-resolution images, select a dpi of 300.

width

Input the width, there are 2 default widths, the first, width = NULL, is 10.5. The second default is width = 0, where the width is 7.2. Otherwise users can input their own width.

 


http://www.ppmy.cn/news/742793.html

相关文章

msata sata和m.2的区别,有图

msata与sata接口的大小不同&#xff0c;msata像是迷你版的sata msata一个凹槽&#xff0c;而m.2两个凹槽。

Java语言 - Unicode编码与字符串互转

概述 项目需要Unicode编码与字符串互转&#xff0c;在此做个笔录。 1、code // Press Shift twice to open the Search Everywhere dialog and type show whitespaces, // then press Enter. You can now see whitespace characters in your code. public class Main {public…

DR模式部署LVS负载均衡集群

目录 一、配置负载调度器 1.配置虚拟 IP 地址&#xff08;VIP&#xff1a;192.168.146.180&#xff09; 2.调整 proc 响应参数 3. 配置负载分配策略 ​编辑二、部署共享存储&#xff08;NFS服务器&#xff1a;192.168.146.20&#xff09; 三、配置节点服务器 1.配置虚拟…

9、DataX安装部署

1、 DataX简介 1.1 DataX概述 DataX 是阿里巴巴开源的一个异构数据源离线同步工具&#xff0c;致力于实现包括关系型数据库(MySQL、Oracle等)、HDFS、Hive、ODPS、HBase、FTP等各种异构数据源之间稳定高效的数据同步功能。 源码地址&#xff1a;https://github.com/alibaba/…

数据结构--串的存储结构

数据结构–串的存储结构 串的顺序存储 静态数组实现(定长顺序存储) #define MAXLEN 255 typedef struct {char ch[MAXLEN];int length; }SString;动态数组实现(堆分配存储) typedef struct {char* ch;int length; }HString;int main() {HString S;S.ch (char*)malloc(sizeo…

影响wifi信号强度因素

影响WIFI信号强度因素&#xff1a; 1、室内错综复杂的环境&#xff0c;会在一定程度上导致WIFI无线信号产生多径传播现象&#xff0c;从而导致信号强度的不稳定性&#xff1b; 2、室内的人员密集程度和人员流动情况也会对WIFI信号强度产生影响&#xff1b; 3、室内电子产品产生…

Android wifi 信号强度单位 dbm

当利用android wifi模块获取wifi信号强度值时我们通常会得到-20~-80之间的值&#xff0c;单位是dBm。如&#xff1a;-67dBm。 那么什么是dBm呢&#xff1f; dBm 是表示功率绝对值大小的值&#xff0c;是以1mW功率为基准的一个比值。计算公式为&#xff1a;dBm10log&#xff0…

获取wifi当前手机连接的wifi信息以及信号强度

修改时间&#xff1a;2022/9/5 案例中是主动向安卓系统获取wifi信号强度&#xff0c;正常情况下是通过监听广播的方式来被动获取&#xff0c;看自己三年前写的代码还是挺好笑的&#xff0c;看到好多问题&#xff0c;再不改就误人子弟了&#xff0c;所以改了改。 给权限 <u…