seek_gtex_organ: Load and Process GTEX Phenotype Data to Retrieve Primary Site...

View source: R/SeekGtexOrgan.R

seek_gtex_organR Documentation

Load and Process GTEX Phenotype Data to Retrieve Primary Site Counts

Description

This function reads the GTEX phenotype data from a specified path, renames its columns for better readability, and then returns a table of primary site counts.

Usage

seek_gtex_organ(path = "./download_data/GTEX_phenotype")

Arguments

path

The path to the GTEX phenotype data file. Default is "./download_data/GTEX_phenotype".

Value

A table representing the count of samples per primary site.

Examples

# Get the file path to the example data in the package
path <- system.file("extdata", "GTEX_phenotype_test", package = "TransProR")
# Call the `seek_gtex_organ` function with the path and print the result
SeekGtexOrgan <- seek_gtex_organ(path = path)


TransProR documentation built on April 4, 2025, 3:16 a.m.