spliceGroupIndex( x, group.column, members ) spliceIndex( x, ids, group, gps, group.index.fn=spliceGroupIndex, median.gene=FALSE, median.probeset=FALSE, unlogged=TRUE )
exonic
).The two sets of arrays can be specified in two ways: First, by using numeric indices defining the appropriate columns in the expression data. This is done by supplying these as a list to gps (e.g. gps=list(1:3,4:6) will calculate the splicing index between arrays 1,2,3 and 4,5,6. Alternatively, the annotation in the phenoData object from x can be used (e.g. group="treatment",gps=c("a","b") will compare between the arrays labelled 'a', and 'b' in the 'treatment' column of pData(x)).
The implementation also calculates a p.value and t.statistic for each probeset; these are returned alongside the splicing index.
By default, the splicing index is calculated using the mean across genes and samples. Specifying median.gene=TRUE or median.probeset=TRUE will use the median instead (for the gene or probeset level averages, respectively). It is calculated using the unlogged data, unless unlogged=FALSE. This only affects the internal calculations; values in x are always assumed to be logged, and the splicing index is always returned on the log2 scale.
exonic
if(interactive()) {
# Loads the Expression Set into x.rma
load( '../unitTests/HuEx-1_0.tp53.expr.RData' )
spliceIndex( x.rma, symbolToGene( 'tp53' ), gps=list(1:3,4:6) )
}
Run the code above in your browser using DataLab