prep_deseq2 | R Documentation |
This function reads a DESeq2 DEG data frame from an RDS file, filters it, adjusts the log2FoldChange to absolute values, adds a pseudo-count to pvalues, and transforms pvalues for plotting. The final data frame is returned and optionally saved to a new RDS file.
prep_deseq2(input_path, output_name = NULL)
input_path |
Path to the RDS file containing the DESeq2 DEG data frame. |
output_name |
Name for the processed data frame, also used as the RDS file name. |
A data frame with processed DESeq2 DEG data.
deseq2_file <- system.file("extdata",
"DEG_deseq2_test.rds",
package = "TransProR")
deseq2 <- prep_deseq2(deseq2_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.