Ensure that an annotation has all of the required columns.
validate.annot(
data,
annot,
annot.flags,
sample.id,
fill = "CPM",
baseline.flag = NULL,
baseline.val = NULL
)
The input count data.
The annotation dataframe.
The vector of annotation flags passed by the user.
Sample id label to check if in annot.
The fill value indicated by the user,"count" or "CPM".
The baseline.flag passed by the user.
The baseline value passed by the user.
The function will check the following:
The annot.flags
values are columns in annot
If fill
= "cfb": validate the baseline.flag
and
baseline.val
parameters.
sample.id
is a column in annot
.
Xingpeng Li, Tatiana Gelaf Romer & Siddhartha Pachhai RVA - RNAseq Visualization Automation tool.