|
a |
|
b/man/seek_gtex_organ.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/SeekGtexOrgan.R |
|
|
3 |
\name{seek_gtex_organ} |
|
|
4 |
\alias{seek_gtex_organ} |
|
|
5 |
\title{Load and Process GTEX Phenotype Data to Retrieve Primary Site Counts} |
|
|
6 |
\usage{ |
|
|
7 |
seek_gtex_organ(path = "./download_data/GTEX_phenotype") |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{path}{The path to the GTEX phenotype data file. Default is "./download_data/GTEX_phenotype".} |
|
|
11 |
} |
|
|
12 |
\value{ |
|
|
13 |
A table representing the count of samples per primary site. |
|
|
14 |
} |
|
|
15 |
\description{ |
|
|
16 |
This function reads the GTEX phenotype data from a specified path, renames its columns for better readability, |
|
|
17 |
and then returns a table of primary site counts. |
|
|
18 |
} |
|
|
19 |
\examples{ |
|
|
20 |
# Get the file path to the example data in the package |
|
|
21 |
path <- system.file("extdata", "GTEX_phenotype_test", package = "TransProR") |
|
|
22 |
# Call the `seek_gtex_organ` function with the path and print the result |
|
|
23 |
SeekGtexOrgan <- seek_gtex_organ(path = path) |
|
|
24 |
|
|
|
25 |
} |