FastCeRNA_edge: Get miRNA-lncRNA-mRNA edge data after FastCeRNA

Description Usage Arguments Value Author(s) See Also Examples

View source: R/BI_FastCeRNA_edge.R

Description

Get miRNA-lncRNA-mRNA edge data after FastCeRNA

Usage

1
2
FastCeRNA_edge(object, lncRNA.col = "lncRNAs", pcRNA.col = "Genes",
  miRNA.col = "miRNAs", Cor.col = "cor")

Arguments

object

the result of FastCeRNA

lncRNA.col

colnames of lncRNA

pcRNA.col

colnames of protein-coding RNA,

miRNA.col

colnames of miRNA

Cor.col

colnames of Pearson corelation

Value

a data frame of miRNA-lncRNA-mRNA edge data

Author(s)

Weibin Huang<654751191@qq.com>

See Also

FastCeRNA.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## load data
load("E:/iProjects/LM_WGCNA/data/LM_WGCNA_01A/rda/lm_ceRNA.rda")
load("E:/iProjects/LM_WGCNA/data/LM_WGCNA_01A/rda/lm_moduleGenes.rda")

## filter
lm_ceRNA_hubModules <- dplyr::filter(lm_ceRNA,Genes %in% as.character(moduleGenes),hyperPValue <= 0.05)

## Get edge data
ceRNA_edge <- FastCeRNA_edge(object = lm_ceRNA_hubModules,
                             lncRNA.col = "lncRNAs",
                             pcRNA.col = "Genes",
                             miRNA.col = "miRNAs",
                             Cor.col = "cor")
## Or easier way
ceRNA_edge <- FastCeRNA_edge(lm_ceRNA_hubModules)
View(ceRNA_edge)

shijianasdf/BasicBioinformaticsAnalysisFromZhongShan documentation built on Jan. 3, 2020, 10:08 p.m.