cptSlopeplot: Scatterplot representation of identified change points gene...

Description Usage Arguments Details Value Author(s) Examples

View source: R/cptSlopeplot.R

Description

This function will plot the average slopes estimated over all gene sets within each change point by data types

Usage

1
cptSlopeplot(gispa.output,feature,type)

Arguments

gispa.output

: A data matrix of between gene feature profile statistics for each feature with corrosponding identified changepoints. The row names should corrospond to genes or names to be displayed on y-axis

feature

: Analysis type i.e., one ('1'), two ('2') or three ('3') dimensional feature analysis.

type

: Type of data, e.g., EXP (default) for expression, VAR of variants, CNV for copy number change.

Details

This function expects the output from GISPA function of GISPA package, and highlights the gene set slope profile in the selected changepoints

Value

Scatterplot illustrating the average slopes by change point to access the best gene set profile

Author(s)

Bhakti Dwivedi & Jeanne Kowalski

Examples

1
2
3
4
5
6
7
8
id <- 200 ## number of rows
s <- 3 ## number of columns
dm <- matrix(runif(id*s,0,10), nrow=id, ncol=s, 
                 dimnames=list(paste("gene", 1:id, sep=""), 
                 paste("sample", 1:s, sep="")))
changepoints <- sort(sample(1:2, id, replace=TRUE))
dm <- cbind(dm,changepoints)
cptSlopeplot(gispa.output=dm,feature=1,type="EXP")

GISPA documentation built on May 2, 2018, 3:59 a.m.

Related to cptSlopeplot in GISPA...