Description Usage Arguments Value Author(s) References Examples
A simple function that creates a kind of "melted" data frame from the melt function in reshape package. It does the melting directly from the Data and Design object. The result can be easily use with ggplot.
1 | RC_melt(Data, Design)
|
Data |
An R data frame containing your data as gene expression with genes in column and sample in rows. |
Design |
An R dataframe describing your samples. Typically the rows in your design file should match the rows in your data file. The colum can represent any descriptive features like batch, group, patient's sex ... |
Return a melted data frame with the same columns you should have in your Design dataframe plus 2 columns variable and value that are related to Data (e.g Variable = genes and value = counts)
Benjamin Vittrant
https://cran.r-project.org/web/packages/reshape/index.html
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.