convert_motif_targets_human: convert_motif_targets_human

View source: R/convert_motif_targets_human.R

convert_motif_targets_humanR Documentation

convert_motif_targets_human

Description

convert HOMER motif target genes to human and add corresponding data - intended for cases when you want to perform GSEA on the HOMER motif target genes.

Usage

convert_motif_targets_human(
  motif_genes,
  expression_data,
  create_ranked_vector = T
)

Arguments

motif_genes

character vector of the motif target genes (fish).

expression_data

dataframe of the corresponding expression data for your genelist (usually output of FindMarkers). NOTE: the function assumes the gene names are in column 2 of this dataframe - if you're getting an error, check that first.

create_ranked_vector

if T, will create a ranked vector of the human orthologs and expression data - to be used for GSEA.

Value

if create_ranked_vector = T, will return a ranked vector to be used for GSEA. if F, a dataframe.


mvhunter1/mvhfunctions documentation built on May 31, 2024, 3:36 p.m.