-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
Dev
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#' Column name retrival function on pairix-indexed pairs file. | ||
#' | ||
#' This function returns a vector of column names for a pairs format. | ||
#' | ||
#' @param filename a pairs file, or a bgzipped text file (sometextfile.gz) with an index file sometextfile.gz.px2 in the same folder. | ||
#' | ||
#' @keywords pairix names | ||
#' @export px_get_column_names | ||
#' @examples | ||
#' filename = system.file(".","test_4dn.pairs.gz", package="Rpairix") | ||
#' cols = px_get_column_names(filename) | ||
#' print(cols) | ||
#' @useDynLib Rpairix get_column_names | ||
px_get_column_names<-function(filename){ | ||
out = .Call("get_column_names", filename) | ||
if(!is.null(out)) { cols=strsplit(out, ' ')[[1]]; return(cols[2:length(cols)]); } else { return(NULL); } | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Version: 0.1.1 | ||
Version: 0.1.2 | ||
|
||
RestoreWorkspace: No | ||
SaveWorkspace: No | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.