Hi,
I am using limma to analyze a barcode sequencing dataset. The raw data are counts, similar to RNA-seq. I am using edgeR::calcNormFactors
followed by voom
to normalize and transform the count data. I am interested in plotting normalized data for a specific single gene. I have looked around and found plotCounts
function from DESeq2. Is there a similar function in limma? If not, is there another package that provides such a function for EList or ExpressionSet objects?
Thanks.
Yury
Thanks, Aaron! I can certainly use this. If I want to visualize the data that are actually used by limma's
lmFit
function, do I extract values from theE
slot of myEList
object and multiply them by the edgeR scaling factors? Is this the same as thenorm
values in your script? I suppose I could also usevoom
-computed weights to make symbols of different sizes...The expression values in the
E
slot already incorporate edgeR's normalization factors (assuming you got them fromvoom
) so no extra work is required. Then you can just replacenorm
withblah$E
in the code above, assumingblah
is the output fromvoom
. If you want to use weight-based sizes, you could add something likecex=blah$weights*C
to theplot
call (whereC
is some constant to scale everything to a nice size).I am trying to use the same plot, but norm here is a count table where rows are gene name and column is a sample, how "grouping" factor identify each sample here?