Description Usage Arguments Details Value Author(s) Examples
This function will plot the average slopes estimated over all gene sets within each change point by data types
1 | cptSlopeplot(gispa.output,feature,type,cpt)
|
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. |
cpt |
: Change point cutoff to be highlighted. The default is 1 |
This function expects the output from GISPA function of GISPA package, and highlights the gene set slope profile in the selected changepoints
Scatterplot illustrating the average slopes by change point to access the best gene set profile
Bhakti Dwivedi & Jeanne Kowalski
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",cpt=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.