Description Slots Methods See Also Examples
This is the class representation for output from regression coefficient calculations
Object of class matrix, A matrix storing default coefficients.
Object of class matrix, A matrix storing standardized coefficients.
Object of class matrix, A matrix storing zscores.
Class-specific methods:
Accessor function for the coeff slot.
Replacement function for the coeff slot.
Accessor function for the coeff.std slot.
Replacement function for the coeff.std slot.
Accessor function for the zscore slot.
Replacement function for the zscore slot.
Standard generic methods:
This method is not formally defined for mergeCoeff objects but for a matrix. This function would typically be called with the following syntax, plot(coeff(mergeCoeff)).The result is pairwise scatterplots of the columns of the selected matrix. If there are two studies, this is a single scatterplot.
mergeExprs
,modelOutcome
, mergeExpressionSet-class
1 2 3 4 5 6 7 8 9 10 11 12 13 | if(require(Biobase) & require(MASS) & require(survival)){
data(mergeData)
merged <- mergeExprs(sample1,sample2,sample3)
log.coeff <- modelOutcome(merged,outcome=c(1,1,1),method="logistic")
plot(coeff(log.coeff))
plot(stdcoeff(log.coeff),pch=4,labels=c("study A","study B","study C"),col=3)
linear.coeff <- modelOutcome(merged[1:2],outcome=c(3,3),method="linear")
plot(zscore(linear.coeff))
plot(zscore(linear.coeff),xlab="study A",ylab="study B",col=2)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.