Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/get.score.main.R

This function is to fit a main-effect model assuming no treatment-specific subgroups exist (under the null).

1 2 | ```
get.score.main(time, event, treat, bio, covar = NULL, nfolds = 5,
alpha = 0.5)
``` |

`time` |
A numeric vector containing the follow up time for right censored data. |

`event` |
A numeric vector containing the status indicator, normally 0=alive, 1=dead. |

`treat` |
A numeric vector containing the treatment indicator: 1=treatment of interest, 0=alternative treatment (e.g. placebo or standard of care). |

`bio` |
A numeric data frame or matrix containing biomarker values. |

`covar` |
A numeric matrix containing clinical covariates. Default is |

`nfolds` |
The number of folds for cross validation in choosing tuning parameters. The function |

`alpha` |
A scalar for the elasticnet mixing parameter as in the “glmnet” package (0=ridge, 1=lasso). A fixed value is supposed to be used, without searching for the optimal alpha value. Default is 0.5. |

This function is a function called by `MMMS()`

to obtain bootstrap-based p-values. A main-effect model is considered by assuming that no treatment-specific subgroups exist. This function is used for obtaining (semi)parametric bootstrap samples under the null.

A list with the following elements:

`fit` |
The |

`lam.best` |
The optimal |

`fit.selected` |
An object returned by |

`sfit` |
An object returned by |

Author: Lin Li, Tobias Guennel,Scott Marshall, Leo Wang-Kit Cheung

Contributors: Brigid M. Wilson, Dilan C. Paranagama

Maintainer: Lin Li <[email protected]>

Lin Li, Tobias Guennel, Scott Marshall, Leo Wang-Kit Cheung (2014) A multi-marker molecular signature approach for treatment-specific subgroup identification with survival outcomes. *The Pharmacogenomics Journal*. http://dx.doi.org/10.1038/tpj.2014.9

1 2 3 4 5 6 |

MMMS documentation built on May 29, 2017, 10:06 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.