heatmap_bGWAS: Heatmap of SNP effects on prior traits from bGWAS results

View source: R/bGWAS_classFunctions.R

heatmap_bGWASR Documentation

Heatmap of SNP effects on prior traits from bGWAS results

Description

Creates a heatmap of SNP effects on prior traits

Usage

heatmap_bGWAS(obj, SNPs = NULL, save_file = F, file_name = NULL)

Arguments

obj

an object of class bGWAS created using bGWAS()

SNPs

A data.frame containing the SNPs (rsid) to use in the first column, and optionnally the text that should be plotted in addition to rsid in the second column default=NULL.

save_file

A logical indicating if the graphic should be saved, default=FALSE, graphic will be displayed on the on-screen device

file_name

The name of the file saved (is save_file is TRUE) default=NULL, will used NameOfYourAnalysis_Heatmap.png

Value

a Heatmap


n-mounier/bGWAS documentation built on Oct. 11, 2023, 1:39 a.m.