fdmdeepm6A: Functional DmM gene identification.

Description Usage Arguments Details Value Author(s) References Examples

View source: R/fdmdeepm6A.R

Description

This function is used to identify functional DmM genes from a list of DmM genes using FunDMDeepm6A approach.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
fdmdeepm6A(dminfo,
           descore,
           top_alph = 0.8,
           fungenethr = 0.3,
           datapath = NA,
           UTR5only = FALSE,
           orgsymbol = org.Hs.egSYMBOL,
           savepath = NA,
           savename = "Funm6AGene",
           permutime = NA,
           no_cores = NA)

Arguments

dminfo

A dataframe of DmM sites information. It can be generated using summarydmdeepm6A from DMDeepm6A package result.

descore

A vector of named numbers denote the differntial expression score of all genes, it can be genarated using getdescore function

top_alph

The top percentage threshold used to aggregate the ranks from each PPI network. In defalt, the threshold is set as 0.8 which means only MSB scores larger than 80 pencentage of DE scores will contribute to the functional rank. A larger top_alph (must no more than 1) makes the functional ranks aggregation test more rigorous.

fungenethr

The threshold of the FDR used to determine whether a DmMGene is a FDmMGene

datapath

The file path where the network information required of FunDMDeepm6A, usually do not need to input, only if you prefer to use your own PPI networks

UTR5only

Whether the input DmM genes only harbor DmM sites on 5'UTR, it can be TRUE, FALSE or a vector of 1 and 0 which has the same lenght of DMgene to denote each DmM gene only harbor DmM sites on 5'UTR or not

orgsymbol

The gene name annotation. You need to input it similar to "org.Hs.egSYMBOL" if DefaultGenome is use other genomes instead of human genome.

savepath

The file path where to save the result

savename

The name of the xls formate result which contain the information of FDmMGenes

permutime

The permutation times to calculate an empirical p-value for DmMGenes

no_cores

The number of cores used to run the function in parallel

Details

The permutime will influence the accuracy of identified FDmMGenes, more permutation times will generate more reliable result while takes longer time. In default, it is 100 times of the number of DmM genes and this is adequate but time consuming.

Value

By default, fdmdeepm6A will output result as data.frame and save an xls formate file containg the MSB scores and the significance of a DmMGene to be a functional DmMGene.

Author(s)

Songyao Zhang

References

Funm6AViewer: Visualization of single base differential m6A methylation sites and functional DmM genes.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## FunDMDeep-m6A

dminfo <- system.file("extdata", "DMinfo_toy.xls", package="Funm6AViewer")
deinfo <- system.file("extdata", "DEinfo_toy.xls", package="Funm6AViewer")

dminfo <- read.table(dminfo, header = TRUE, stringsAsFactors = FALSE)
deinfo <- read.delim(deinfo, header = TRUE, stringsAsFactors = FALSE)
descore <- getdescore(deinfo)

# The datapath is the filepath where the required PPI data saved, they can be downloaded
# from https://pan.baidu.com/s/1qOGG57OgxmrTwSbbBEeQ2w&shfl=sharepset
datapath <- "E:/Funm6A_package/data"
permutime <- 1000

re <- fdmdeepm6A(dminfo = dminfo, descore = descore, datapath = datapath, permutime = permutime)

# plot interested gene MSB score
siggene <- c("CCNT1", "MYC", "BCL2")
siggenescoreplot(fdmgene = re, siggene = siggene)

NWPU-903PR/Funm6AViewer documentation built on April 25, 2021, 4:26 p.m.