project_homes: Find available project home options

Description Usage Arguments Details Value See Also Examples

View source: R/project_homes.R

Description

This function finds the home for a given project (study) of interest based on the organism and the home_type.

Usage

1
2
3
4
project_homes(
  organism = c("human", "mouse"),
  recount3_url = getOption("recount3_url", "http://duffel.rail.bio/recount3")
)

Arguments

organism

A character(1) specifying which organism you want to download data from. Supported options are "human" or "mouse".

recount3_url

A character(1) specifying the home URL for recount3 or a local directory where you have mirrored recount3.

Details

By default it reads a small text file from recount3_url/organism/homes_index using readLines(). This text file should contain each possible project home per line. See http://duffel.rail.bio/recount3/human/homes_index for an example.

Value

A character() vector with the available project_home options.

See Also

Other internal functions for accessing the recount3 data: annotation_ext(), create_rse_manual(), file_retrieve(), locate_url_ann(), locate_url(), read_counts(), read_metadata()

Examples

1
2
3
4
5
6
7
8
9
## List the different available `project_home` options for the default
## arguments
project_homes("human")
project_homes("mouse")

## Test files
project_homes("human",
    recount3_url = "http://snaptron.cs.jhu.edu/data/temp/recount3"
)

recount3 documentation built on Feb. 13, 2021, 2 a.m.