Description Usage Arguments Value Examples
getSampleFromBucket
returns a sparseHiCdatum
object
when the user specifies the sample name and the bucket that the object
is housed in. If the sample is split by chromosomes (e.g. GM12878 in
the DNAlandscapeR bucket), then the function collates those into one
object. However, the user can specify only certain chromosomes be
imported using the chr paramter. As a side note, all AWS buckets are
lower case letters only, so that may be a source of error when trying
to import the bucket.
1 2 3 4 5 | getSampleFromBucket(sample, bucket, chr = NA, organism = "human")
## S4 method for signature 'ANY'
getSampleFromBucket(sample, bucket, chr = NA,
organism = "human")
|
sample |
The name of the sample (e.g. GM12878 or BT142-rep1) |
bucket |
Name of the AWS bucket. |
chr |
= NA Specify which chromosomes to pull down; if left with NA, then by default, all chromosomes will be pulled down |
organism |
= "human" or "mouse" likely supported |
A sparseHiCdatum object
1 2 3 | # Import chromosome 4 from DNAlandscapeR bucket
samp <- "IMR90"
# hesc <- getSampleFromBucket(samp, "dnalandscaper", c("chr1", "chr4"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.