CelltypeScore: Generate cell-type-specific histone acetylation scores

View source: R/CelltypeScore.R

CelltypeScoreR Documentation

Generate cell-type-specific histone acetylation scores

Description

This function takes as input a raw counts matrix and the output of function CelltypeSpecificPeaks(), and will calculate cell-type-specific histone acetylation scores for each sample in the counts matrix.

Usage

CelltypeScore(counts, celltypeSpecificPeaks, method)

Arguments

counts

A counts per million matrix with rows labeling peaks and columns labeling samples.

celltypeSpecificPeaks

The output list of data frames from the function CelltypeSpecificPeaks() containing the annotated bulk peaks and the cell type-specific bulk peaks.

method

Whether mean or median should be used to calculate the score for each sample across cell type-specific peaks.

Value

Cell-type-specific histone acetylation scores for each sample.


neurogenomics/CHAS documentation built on Jan. 20, 2025, 4:03 p.m.