R/draw_GeneTraj.R
draw_GeneTraj.Rd
This function takes the master.list object output from run_TrendCatcher function, and an array of gene(s). It will draw gene(s) trajectory with observed data and fitted data.
draw_GeneTraj(
master.list,
gene.symbol.arr,
savepdf.path = NA,
ncol = 5,
nrow = 3,
fig.width = 15,
fig.height = 10
)
a list object. Output from the run_TrendCatcher with ID conversion to add Symbol column to master table.
a character array. It must be a subset of row names from the master.list$master.table$Symbol. The Symbol column need get_GeneEnsembl2Symbol function to convert original ensembl ID into gene symbol.
an obsolute file path to save the figure as PDF file. By default is NA, it will be printed.
an integer variable. If more than one gene need to be plotted, it will layout as grid structure. This represents the number of column of the grid layout.
an integer variable. If more than one gene need to be plotted, it will layout as grid structure. This represents the number of row of the grid layout.
a numeric variable. If save figure as PDF file, the width of the PDF file. By default is 15.
a numeric variable. If save figure as PDF file, the height of the PDF file. By default is 10.
"arrangelist" "list" object.