View source: R/import_peaks_geo.R
import_peaks_geo | R Documentation |
Import narrow/broad/generic peaks from GEO, or compute peaks with call_peaks.
import_peaks_geo(
ids,
build,
query_granges,
query_granges_build,
split_chromosomes = FALSE,
method = "MACSr",
cutoff = NULL,
searches = construct_searches(),
condense_queries = TRUE,
peaks_dir = tempdir(),
timeout = 3 * 60,
nThread = 1,
verbose = TRUE
)
ids |
IDs from one of the supported databases. IDs can be at any level: file, sample, or experiment. |
query_granges |
[Optional] GRanges object indicating which genomic regions to extract from each sample. |
query_granges_build |
[Optional]
Genome build that |
split_chromosomes |
Split single-threaded query
into multi-threaded query across chromosomes.
This is can be helpful especially when calling peaks from
large bigWig/bedGraph files.
The number of threads used is set by the |
method |
Method to call peaks with: |
cutoff |
|
searches |
Named list of regex queries. |
condense_queries |
Condense |
peaks_dir |
Directory to save peaks to (only used when calling peaks from bedGraph files). |
nThread |
When |
verbose |
Print messages. |
gsm |
GEO GSM id (e.g. "GSM4271282"). |
Must import new in my function because it seems getGEO forgot to do this (only works when you load the entire GEOquery package first).
Named list of peak files in GRanges format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.