GRanges_to_underscored_pos: Convert GRanges object to underscord positions.

View source: R/GRanges_to_underscored_pos.R

GRanges_to_underscored_posR 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)

jamesdalg/CNVScope documentation built on Aug. 18, 2022, 4:43 p.m.