a b/man/prep_limma.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/PrepLimma.R
3
\name{prep_limma}
4
\alias{prep_limma}
5
\title{Prepare limma-voom DEG data for plotting}
6
\usage{
7
prep_limma(input_path, output_name = NULL)
8
}
9
\arguments{
10
\item{input_path}{Path to the RDS file containing the limma-voom DEG data frame.}
11
12
\item{output_name}{Name for the processed data frame, also used as the RDS file name.}
13
}
14
\value{
15
A data frame with processed limma-voom DEG data.
16
}
17
\description{
18
This function reads a limma-voom DEG data frame from an RDS file, filters it using
19
\code{\link{deg_filter}} function, adjusts the logFC to absolute values, adds a pseudo-count to P.Value,
20
and transforms P.Value for plotting. The final data frame is returned and
21
optionally saved to a new RDS file.
22
}
23
\examples{
24
limma_file <- system.file("extdata",
25
                          "DEG_limma_voom_test.rds",
26
                          package = "TransProR")
27
limma <- prep_limma(limma_file)
28
29
}