mixturePlotPanel: Panel of mixture plots of all pairwise simulated combinations

View source: R/mixturePlotPanel.R

mixturePlotPanelR Documentation

Panel of mixture plots of all pairwise simulated combinations

Description

For all sets of simulated proteins distributed between two compartments, plot the CPA estimates for a given type of profile versus true mixture proportions; assumes eight or fewer compartments for proper formatting of the plots.

Usage

mixturePlotPanel(
  refLocationProfilesAcup,
  totProt,
  NstartMaterialFractions,
  errorReturn = FALSE,
  fitType,
  log2Transf = FALSE,
  eps = 0.001
)

Arguments

refLocationProfilesAcup

data frame containing the Acup profiles for the reference compartments

totProt

vector of total protein amounts (derived from a given amount of starting material) in each of the fractions comprising the profile

NstartMaterialFractions

Number of fractions that reconstitute the starting material, e.g., a complete set of differential centrifugation fractions. For experiment AT5, it is 6 (N, M, L1, L2, P, and S).

errorReturn

return all area-based errors if true

fitType

use RSA, NSA, or Acup

log2Transf

use log2-transformed values. Default is FALSE

eps

small value to add so that log argument is greater than zero

Value

Panel of plots and a list of errors for all mixtures

Examples

data(refLocProfAcup)
data(totProtAT5)
mixturePlotPanel(refLocationProfilesAcup=
                   refLocProfAcup, 
                 totProt=totProtAT5, NstartMaterialFractions=6, 
                 errorReturn = TRUE, 
                 fitType="RSA", log2Transf=FALSE) 
# It may be necessary to open a separate window to
# properly display this panel of plots. Further details are in Tutorial 4.

mooredf22/protlocassign documentation built on Sept. 13, 2023, 3:57 p.m.