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