
modifyWeights(weights=rep(1,length(status)), status, values, multipliers)
weights
status
values
giving factor by which weights will be modifiedweights
with rows corresponding to values
in status
modified by the specified multipliers.
w <- matrix(runif(6*3),6,3)
status <- c("Gene","Gene","Ratio_Control","Ratio_Control","Gene","Gene")
modifyWeights(w,status,values="Ratio_Control",multipliers=0)
Run the code above in your browser using DataLab