|
a |
|
b/man/prep_edgeR.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/PrepEdgeR.R |
|
|
3 |
\name{prep_edgeR} |
|
|
4 |
\alias{prep_edgeR} |
|
|
5 |
\title{Prepare edgeR DEG data for plotting} |
|
|
6 |
\usage{ |
|
|
7 |
prep_edgeR(input_path, output_name = NULL) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{input_path}{Path to the RDS file containing the edgeR 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 edgeR DEG data. |
|
|
16 |
} |
|
|
17 |
\description{ |
|
|
18 |
This function reads an edgeR 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 PValue, |
|
|
20 |
and transforms PValue for plotting. The final data frame is returned and |
|
|
21 |
optionally saved to a new RDS file. |
|
|
22 |
} |
|
|
23 |
\examples{ |
|
|
24 |
edgeR_file <- system.file("extdata", |
|
|
25 |
"DEG_edgeR_test.rds", |
|
|
26 |
package = "TransProR") |
|
|
27 |
edgeR <- prep_edgeR(edgeR_file) |
|
|
28 |
|
|
|
29 |
} |