storeBulk: Store bulk label data

View source: R/DownstreamAnalysisFunctions.R

storeBulkR Documentation

Store bulk label data

Description

storeBulk() stores labels for bulk data in the cellWalk object

Usage

storeBulk(cellWalk, bulkPeaks, labelScores, bulkID)

Arguments

cellWalk

a cellWalk object

bulkPeaks

GRanges of peaks in bulk data or GRangesList of sets of peaks

labelScores

a matrix of label scores, output of labelBulk with allScores set to TRUE

bulkID

character string assigning name to bulk data

Value

cellWalk object with labels for each region in bulk data

Examples

data("SampleCellWalkRData")
cellWalk <- storeBulk(SampleCellWalkRData$cellWalk,
                      SampleCellWalkRData$sampleEnhancers,
                      SampleCellWalkRData$labelScores)


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.