mixmetrics: Calculate the fraction of mixture components in a mixture...

Description Usage Arguments

View source: R/mixmetrics.R

Description

mixmetrics solves a linear model based on the components and proportions listed. Returns a modified object with model results and predicted count values.

Usage

1
2
3
4
mixmetrics(mrnatype = "internalconsensus", splittype = "none",
  prenormalized = TRUE, modeltype = "twomix", indf, idnames = "id",
  idvars = 1, trueproportions, componentnames = c("Brain", "Liver",
  "Placenta"), mixnames = c("Mix1", "Mix2"), annot = c("Replicate"), ...)

Arguments

mrnatype

Internalconsensus,externalagreement,none,or ercc; How to calculate the measured fraction in a sample.

splittype

'none' - not currently implemented: How to split the data rows based on columns in idvars.

prenormalized

TRUE/FALSE - if data is already normalized.

modeltype

"twomix","threemix": How many different mixtures are present in your dataset.

indf

Input dataframe: counts and idvariables.

idvars

List of columns (or names?) that are not data, but identifiers of gene names(1st) or splitting features (not 1st, not implemented).

trueproportions

Data frame consisting of the true mixture proportions of each mix, in order.

componentnames

List of column names of indf for each component.

mixnames

List of column names of indf corresponding to each mix.

annot

How to refer to the various copies of each component/mix after they are split/merged.

...

Anything else.


usnistgov/mixturesolutions documentation built on May 3, 2019, 2:38 p.m.