Description Usage Arguments Value

This function is used to estimate a suitable value of k for use in RUV normalization

1 |

`dat` |
A data matrix where loci are rows and samples are columns |

`mod` |
A model matrix used to fit the data (variables of interest) |

`method` |
The method used to estimate k ("leek" (default - asymptotic) or "be" (permutation-based)) |

`vfilter` |
Specify the number of loci to filter based on ranked variance across samples (default is to use all loci) |

`B` |
Specify the number of permutations to use if method = "be" (default = 20) |

`seed` |
Specify a random number for setting the seed if method = "be" |

An estimated value of k for using in RUVseq

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.