AcupFromNSA: Set up RSA (relative specific amount) profiles for...

Description Usage Arguments Value Examples

View source: R/RSAtransform.r

Description

Set up RSA (relative specific amount) profiles for constrained proportional assignment

Usage

1
AcupFromNSA(NSA, NstartMaterialFractions, totProt = NULL)

Arguments

NSA

A matrix giving the specific amount or normalized specific amount profiles, either marker profiles from 'cpaSetup' (which requires normalized specific amounts as input), or a list of many protein profiles

NstartMaterialFractions

Number of differential fractions, typically 6, for N, M, L1, L2, P, and S

totProt

Total protein counts in each of the differential and nycodenz fractions; this is necessary to compute RSA's

Value

Acup profiles amount of given protein in fraction / amount of that given protein in starting material

Examples

1
2
3
4
5
6
7
8
data(protNSA_test)
data(totProtAT5)
protAcup <- AcupFromNSA(protNSA_test[,seq_len(9)], NstartMaterialFractions = 9, totProt=totProtAT5)
protRSA <- RSAfromAcup(protAcup, NstartMaterialFractions = 9, totProt=totProtAT5)
protNSA <- NSAfromRSA(protRSA)
all.equal(protNSA, protNSA_test[,seq_len(9)] )
protRSA2 <- RSAfromNSA(protNSA_test[,seq_len(9)], NstartMaterialFractions = 9, totProt=totProtAT5)
all.equal(protRSA, protRSA2)

mooredf22/protlocassign0p1p1 documentation built on Feb. 7, 2022, 1:55 a.m.