Learn R Programming

gapmap

Functions for Drawing Gapped Cluster Heatmap with ggplot2

More information on this package can be found on CRAN here.

This is a forked repo from gapmap version 0.0.3, which was removed from CRAN in 2020. The original sourcecode by the author Ryo Sakai can be found on Bitbucket here.

I simply fixed the error, and re-submitted to CRAN.

Vignettes

Copy Link

Version

Install

install.packages('gapmap')

Monthly Downloads

255

Version

1.0.0

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

January 22nd, 2024

Functions in gapmap (1.0.0)

get_segment_df

Make a data.frame object
is.gapdata

Function to check if a object is a gapdata class object
get_most_left_leaf

Get the most left leaf object from a dendrogram
gapmap

Function to draw a gapped cluster heatmap
sum_distance

Sum the distance of all branches in a dendrogram
map

A function to map values in a range
set_most_right_leaf

Set the most right leaf object from a dendrogram
format_number

Function to format a number
count_gap

Count the number of gaps based on a threshold
gap_heatmap

Function to draw a gapped heatmap
gap_data

Generate a gapdata class object from a dendrogram object
gap_dendrogram

Function to draw a gapped dendrogram
calculate_gap

Calculate the gaps based on distance
assign_positions

Re-evaluate the position of leaves
gap_label

Function to draw a gapped labels
as.gapdata

Make a gapdata class object
get_most_right_leaf

Get the most right leaf object from a dendrogram
extract_list

Extract a list from the dendrogram object
assign_branch_positions

Re-evaluate the position of branches
sample_tcga

Sample data matrix from the integrated pathway analysis of gastric cancer from the Cancer Genome Atlas (TCGA) study.
map.exp

A function to map values in a range exponentially
gapmap-package

Draws gapped heatmap (gapmap) and gapped dendrograms using ggplot2 in [R].