1 Star 1 Fork 0

王诗翔 / sigminer-doc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
06-others.Rmd 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
王诗翔 提交于 2020-05-11 15:23 . Fix png issue
# (PART) Useful Utilities {-} # Datasets {#datasets} ## Reference Annotation **sigminer** stores many reference annotation datasets for internal calculation. It can be exported for other usage either by `data()` or `get_genome_annotation()`. Currently, there are the following datasets: - `centromeres.hg19` - `centromeres.hg38` - `chromsize.hg19` - `chromsize.hg38` - `cytobands.hg19` - `cytobands.hg38` An example is given as below: ```{r} data("centromeres.hg19") head(centromeres.hg19) ``` `get_genome_annotation()` can better control the returned `data.frame`. ```{r} get_genome_annotation(data_type = "chr_size", chrs = c("chr1", "chr10", "chr20"), genome_build = "hg19") ``` More see `?get_genome_annotation`. ## Copy Number components setting Dataset `CN.features` is a predefined component data table for identifying copy number signatures by method "Wang". Users can define a custom table with similar structure and pass it to function like `sig_tally()`. Detail about how to generate this dataset can be viewed at . ```{r} CN.features ``` # SBS Signature Conversion {#convert} Converts signatures between two representations relative to different sets of mutational opportunities. Currently, only SBS signature is supported. ```{r, fig.width=12} # Load SBS signature load(system.file("extdata", "toy_mutational_signature.RData", package = "sigminer", mustWork = TRUE )) # Exome-relative to Genome-relative sig_converted
1
https://gitee.com/ShixiangWang/sigminer-doc.git
git@gitee.com:ShixiangWang/sigminer-doc.git
ShixiangWang
sigminer-doc
sigminer-doc
master

搜索帮助