Description Usage Arguments Author(s) Examples

View source: R/estimateLOHcurve.r

Expected allelic ratio in a LOH region with scaled read count x

1 | ```
ARloh(x, S, n)
``` |

`x` |
Value on the x axis of a tumor contour plot |

`S` |
Parameter S |

`n` |
Proportion of normal cells in the sample. |

Mathieu Lemire

1 2 3 4 5 6 7 8 9 | ```
## Not run:
# select a few peaks or segments that are LOH
sp <- selectPeaks( cntr, copyAr , getLocal=F )
x<-sp$x; y<-sp$y
nls.fit<- nls( y ~ ARloh( x, 1 ,n ), start=list(n=0.01 ),
upper=list( n=1 ), lower=list(n=0 ), algo="port" )
Sn<- summary(nls.fit)$coefficients[1,1]
## End(Not run)
``` |

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.