fill.in.zeros {chicane}R Documentation

fill.in.zeros

Description

Add zero counts to interaction data

Usage

fill.in.zeros(interaction.data, baits, fragments)

fill.in.zeroes(interaction.data, baits, fragments)

Arguments

interaction.data

Data table containing interaction data

baits

Vector of bait IDs used in the experiment, in format chrN:start-end

fragments

Vector of potential fragments the baits can link up to, in format chrN:start-end

Value

Data table containing origiina

Examples

data(bre80);
	bait.file <- system.file('extdata', '2q35.bed', package = 'chicane');
	fragment.file <- system.file('extdata', 'GRCh38_HindIII_chr2.bed.gz', package = 'chicane');
	results <- fill.in.zeros(
	bre80,
	baits = read.bed(bait.file), 
	fragments = read.bed(fragment.file)
	);


[Package chicane version 0.1.8 Index]