Description Usage Arguments Value

View source: R/cell_composition.R

Estimate the fraction of the 2nd component in a 2-component mixture

1 2 3 4 5 6 7 8 | ```
twoCompsEst2(
pop1,
pop2,
target,
use.ave = TRUE,
diff_1m2u = NULL,
diff_1u2m = NULL
)
``` |

`pop1` |
Reference methylation level matrix for population 1 |

`pop2` |
Reference methylation level matrix for population 2 |

`target` |
Target methylation level matrix to be analyzed |

`use.ave` |
use population average in selecting differentially methylated probes |

`diff_1m2u` |
A vector of differentially methylated probes (methylated in population 1 but unmethylated in population 2) |

`diff_1u2m` |
A vector of differentially methylated probes (unmethylated in population 1 but methylated in population 2) |

Estimate of the 2nd component in the 2-component mixture

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.