complete_counts: Fill missing x-axis values with zero. Very similar to...

Description Usage Arguments Value Examples

View source: R/complete_counts.R

Description

Fill missing x-axis values with zero. Very similar to tidyr::complete.

Usage

1
complete_counts(raw_data, xaxis, yaxis)

Arguments

raw_data

Tidy dataframe with columns for x axis, y axis, and observations.

xaxis

Name of the column with X-axis values.

yaxis

Name of the column with Y-axis values.

Value

Data frame with added rows for missing x axis values

Examples

1
complete_counts(test_data,xaxis='FractionID',yaxis='PeptideCount')

marcottelab/pepliner documentation built on July 29, 2018, 12:35 a.m.