get_Formula: get two types of Formula for disease

Description Usage Arguments Value Examples

View source: R/get_Formula.R

Description

get two types of Formula for disease

Usage

1
get_Formula(score_RRS, enrich_double)

Arguments

score_RRS

result of score_RRS()

enrich_double

result of gsea_disease_set()

Value

two types of Formula for disease

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(M2D)
data("score_RRS_result")
data("gsea_disease_set_result")
formula_list <- get_Formula(
  score_RRS = score_RRS_result,
  enrich_double = gsea_disease_set_result$gsea_sig
)
formula_1 <- formula_list$formula1
head(formula_1)
formula_2 <- formula_list$formula2

lishensuo/M2D documentation built on Jan. 4, 2022, 9:44 a.m.