Description Usage Arguments Value Examples
View source: R/p03_data_import_functions.R
Read peak file as dataframe with selected columns
1 2 3 4 5 6 7 | import_peaks_as_df(
file,
peakFormat = "narrowPeak",
peakCols = c("peakId", "peakEnrichment", "peakPval"),
sampleId = NULL,
column_suffix = TRUE
)
|
file |
Peak file |
peakFormat |
one of |
peakCols |
Column to select in dataframe. Column names should be from this list:
|
sampleId |
sampleId to be used as suffix in column names |
column_suffix |
Logical: whether to add sampleId suffix to column name. Default: TRUE |
A dataframe with columns specified
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.