GRanges_to_underscored_pos {CNVScope}R Documentation

Convert GRanges object to underscord positions.

Description

This function converts row or column names (or any character vector of the format) into a GenomicRanges object.

Usage

GRanges_to_underscored_pos(input_gr, minusOneToEnd = T)

Arguments

input_gr

A GenomicRanges object

minusOneToEnd

Minus one position to end of each Genomic Range?

Examples

load(system.file("extdata","nbl_result_matrix_sign_small.rda",package = "CNVScope")) 
col_gr<-underscored_pos_to_GRanges(colnames(nbl_result_matrix_sign_small))
GRanges_to_underscored_pos(col_gr)

[Package CNVScope version 3.6.0 Index]