Skip to content

Commit

Permalink
Update SCAVENGE.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
fl-yu committed Feb 17, 2023
1 parent e1bb5b4 commit 8ee8b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vignettes/SCAVENGE.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ set.seed(9527)

### Load example data
The PBMC data was processed using [ArchR](https://www.archrproject.com/) package. The peak-by-cell count matrix and corresponding meta data were extracted and stored in a [RangedSummarizedExperiment](https://bioconductor.org/packages/3.7/bioc/vignettes/SummarizedExperiment/inst/doc/SummarizedExperiment.html) object (for more details please follow our paper).
The typical input of fine-mapped data for SCAVENGE or g-chromVAR can be found here (https://github.com/sankaranlab/SCAVENGE-reproducibility/tree/main/data/finemappedtraits_hg19). You can use this (trait_import <- importBedScore(rowRanges(SE_pbmc5k), trait_file, colidx=5)) to import your fine-mapped data into SummarizedExperiment when you have your data ready (trait_file is the path of your file).


```{r message=TRUE, warning=FALSE, cache=FALSE}
trait_import <- example_data(name="mono.PP001.bed")
Expand Down

0 comments on commit 8ee8b17

Please sign in to comment.