Description Usage Arguments Value Examples
Create a design for the files associated with the result of a queryEncode,
fuzzySearch research or a data.table
from createDesign.
1 2 3 4 5 6 7 8 9 10 | createDesign(
input = NULL,
df = get_encode_df(),
split = FALSE,
fileFormat = "bam",
dataset_type = "experiments",
format = "long",
output_type = "data.table",
ID = c(1, 2)
)
|
input |
The |
df |
The |
split |
Allow to the function to return a |
fileFormat |
A string that correspond to the type of the files that need to be extracted. Default: bam |
dataset_type |
A string that correspong to the type of dataset that will be extrated. Default: experiments |
format |
The format (long or wide) to represent the data. The 'long' format will contain three columns (File, Experiment, Value). The 'wide' format organize the data as an array with the experiments as columns and files as rows. Default: long |
output_type |
The type of output of the function, can be |
ID |
A two element numeric vector, that first element is the value assign to replicate and the second is the value assign to control. Default: 1 and 2 |
is a data.table
with files for all the experiments or
a list
of data.table
with all the file per experiment when
the parameter split is set to TRUE
1 2 3 4 5 6 | # You will need to replace get_encode_df_demo() with your own encode_df object,
# the get_encode_df() function or the get_encode_df_full() function.
fuzzy_result <- fuzzySearch(searchTerm = "brca",
database=get_encode_df_demo(), filterVector ="target")
design_result <- createDesign(input = fuzzy_result,df=get_encode_df_demo(),
fileFormat="fastq")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.