Description Usage Arguments Value Examples
Calculate the association signature of a pathway to chemical perturbation signatures
1  | 
EdgeInfo | 
 A data frame containing interaction information of all pathways. Four columns are required in this data frame: pathway annotations, gene symbols of one end of the edges, gene symbols of the other end of the edges, interaction types of the edges.  | 
pathway | 
 A character value for the column name of the pathway ID in the dataframe *EdgeInfo*. Default is "Pathway".  | 
EdgeFrom | 
 A character value for the column name of one end of the edges in the dataframe *EdgeInfo*. Default is "GeneSymbol_a".  | 
EdgeTo | 
 A character value for the column name of the other end of the edges in the dataframe *EdgeInfo*. Default is "GeneSymbol_b".  | 
interaction | 
 A numeric value for the column name of the interaction type in the dataframe *EdgeInfo*. Default is "Interaction".  | 
ncomp | 
 The pre-specified number of sub-graphs used to calculate the consistency score. Default is to use all sub-graphs.  | 
data | 
 A data frame of gene expression levels, with rows for profile genes and columns for chemical perturbations.  | 
neigen | 
 The maximum number of eigen sub-spaces used to calculate gene scores. Default is using all eigen sub-spaces.  | 
The association signature is returned as a data frame with two columns. The first column is the annotations of the chemical perturbations, and the second column is the association scores, which is a measure of the association of a pathway to the perturbations.
1 2 3 4 5 6 7 8 9 10 11  | # load data
downloadLINCS("LincsCP")
Data <- LincsCP$MCF7
# calculate the association signature 
CalcTPSig(EdgeInfo=AllEdges,data=Data,neigen=1)
# calculate the association signature for a specific pathway
pathway <- "hsa04150"
edge <- AllEdges[AllEdges$Pathway==pathway,]
CalcTPSig(EdgeInfo=edge,data=Data,neigen=1)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.