Description Usage Arguments Details Value
View source: R/user_functions.R
Creates a data.frame with the annotation of different feature beds, including their complete path, the cell type and the feature name.
1 2 3 4 5 | prepare.feature.table(
feature_directory,
feature_names = NULL,
cell_types = NULL
)
|
feature_directory |
A character vector with the path of the folder with the feature bed files. |
feature_names |
A character vector of the feature names. This parameter is optional. |
cell_types |
A character vector of the cell types. This parameter is optional. |
Since the main function of mubeen, multiple.bed.enrichment
, needs different attributes of the feature bed files, this function provides a convenient way to generate the information. You can provide the vectors with the feature names and files, or, if not, they are automatically generated from the file name (by default, you have to put the feature name, a whitespace and the cell name). If you have a bed file with multiple features, you should previously separate them using the function separate.multiple.features
A data frame with 3 columns: 1st feature file paths, 2on cell types, 3rd feature names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.