Usage
EBSeqHMMTest(Data,
NgVector=NULL, Conditions, AllTran=NULL,
AllPi0=NULL, Terms=NULL,
sizeFactors, NumTranStage=c(3,2),FCV=2,
homo=FALSE, UpdateRd=10, PIBound=.9, UpdatePI=FALSE,
Print=FALSE,WithinCondR=TRUE,Qtrm=.75,QtrmCut=10,
PenalizeLowMed=TRUE, PenalizeLowMedQt=.1,PenalizeLowMedVal=10)
Arguments
Data
input data, rows are genes and columns are
samples
NgVector
Ng vector; NULL for gene level data
Conditions
A factor indicates the condition
(time/spatial point) which each sample belongs to.
AllTran
initial values for transition matrices
AllPi0
initial values for starting probabilities
FCV
candidate values for expected FC. Default is 2.
If user wants to search through a list of candidate FCs, he/she may define FCV as a vector.
e.g. By defining FCV=seq(1.4,2,.2), the function
will search over (1.4 1.6 1.8 2.0). Note that searching over a number of candidate FCs will increase the running time.
sizeFactors
a vector indicates library size
factors
NumTranStage
number of states in two chains
homo
whether the chain is assumed to be
homogenious
UpdateRd
max number of iteration
UpdatePI
whether update the mixture proportion of
two chains
PIBound
upper bound of the mixture proportion of
the two chains
Qtrm,QtrmCut
Transcripts with Qtrm th quantile < =
QtrmCut will be removed before testing. The default value
is Qtrm = 0.75 and QtrmCut=10. By default setting,
transcripts that have >75% of the samples with
expression less than 10 won't be tested.
WithinCondR
By defining WithinCondR=TRUE,
estimation of r's are obtained within each condition.
(WithinCondR=FALSE is not suggested here)
Print
Whether print the elapsed-time while running
the test.
PenalizeLowMed,PenalizeLowMedQt,PenalizeLowMedVal
Transcripts
with median quantile < = PenalizeLowMedQt will be
penalized