calc_percentage: Calculate the percentage.

View source: R/CALC-calc_percentage.R

calc_percentageR Documentation

Calculate the percentage.

Description

Calculate the percentage of a certain pathway in the data.

Usage

calc_percentage (tibble_ko, y_axis, data_experiment = NULL)

Arguments

tibble_ko

a tibble object from mapping_ko.

y_axis

a character, indicating the pathway to analyze.

data_experiment

optional. a data frame object containing metadata information.

Details

Calculate the percentage of a certain pathway in the data.

Value

A data frame with the calculated percentage of genes in a certain pathway of the data.

Examples

# calc_percentage (ko_bin_mapp, Pathway)   

mirnavazquez/RbiMs documentation built on April 17, 2025, 7:37 p.m.