plotCNV: Plot CNV heatmap

View source: R/supp_functions.R

plotCNVR Documentation

Plot CNV heatmap

Description

This function creates a heatmap using CNV data, where each row is a cell and reach column is a genomic feature. Cells can be clustered together hierarchically (if k_means ==0), or with k-means clustering

Usage

plotCNV(
  fc,
  k_means,
  k_means_cell_cut_off,
  gz,
  project,
  GC_Content = NULL,
  tad = NULL,
  target_t = NULL,
  hc_cluster = 6
)

Arguments

fc

Fold change matrix

k_means

Number of desired clusters k-means (hiearchical if 0)

k_means_cell_cut_off

minimum number of cells for a cluster to be seen

gz

chromosome length data, produced by seqlengths()

project

Name of project

GC_Content

GC content data. See GCplot

tad

tad data. See TADplot

target_t

On-target content data. See ATACplot

hc_cluster

number of hiearchical clusters

Value

creates heatmap and returns corresponding dataframe


qiuxintao101/scCNV documentation built on July 31, 2022, 2:10 p.m.