draw_active_pathways: draw_active_pathways

Description Usage Arguments Details Value Examples

View source: R/spagi2_master.R

Description

This function draws all the pathways as tree layout and stores in one pdf file for each cell / tissue.

Usage

1
draw_active_pathways(active.pathway.ppi.data.frame)

Arguments

active.pathway.ppi.data.frame

A list of sublist containing active pathway data frame for each pathway of each cell / tissue.

Details

This function draws all the pathways as tree layout and stores in one pdf file for each cell / tissue.

Value

This function draws all the pathways as tree layout and stores in one pdf file for each cell / tissue and finally returns null.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#Pre-process the 'tooth.epi.E13.5' data
tooth.epi.E13.5.processed.data<-preprocess_querydata_new(cell.tissue.data = tooth.epi.E13.5, exp.cutoff.th = 5.0, species="mmusculus")
#Generate the mouse homology pathway path data
mouse.homology.pathway.path<-generate_homology_pathways(species1 = "hsapiens", species2 = "mmusculus", pathway.path = pathway.path.new)
#Identify active pathway paths of the processed query data
tooth.epi.E13.5.active.pathway<-identify_active_pathway_path_new(pathway.path = mouse.homology.pathway.path, processed.query.data = tooth.epi.E13.5.processed.data)
#Generate the active pathway paths data frame
tooth.epi.E13.5.active.pathway.df<-generate_pathway_ppi_data_frame(active.pathway.path = tooth.epi.E13.5.active.pathway)
#Now draw the pathways as tree layout in one pdf file
draw_active_pathways(tooth.epi.E13.5.active.pathway.df)

humayun2017/SPAGI2 documentation built on Aug. 5, 2020, 12:06 a.m.