get_score_by_group: get_score_by_group() Function

View source: R/01_score_functions.R

get_score_by_groupR Documentation

get_score_by_group() Function

Description

This function calculate signature score from z score table (will be used inside function table_to_score())

Usage

get_score_by_group(
  zscore_table,
  metadata,
  group_col,
  group,
  direction = "byRow"
)

Arguments

zscore_table

: data frame containing z score

metadata

: Metadata

group_col

: variable names of the group

direction

: "byRow" to calculate per Gene, "byCol" to calculate per sample

Value

score

Examples

 get_score_by_group(zscore_table,metadata,group_col, group,direction="byRow")


jyoh1248/MyoSignature documentation built on May 18, 2022, 12:37 a.m.