mergeStarOutput: merge multiple files with the more than one intersected...

Description Usage Arguments Value Examples

View source: R/mergeStarOutput.R

Description

merge multiple files with the more than one intersected rownames

Usage

1
2
3
4
5
6
7
8
9
mergeStarOutput(
  pattern = ".*count.tab",
  header = F,
  sep = "\t",
  stringsAsFactors = F,
  namesSep = "\\.",
  colSelect = c(1, 2),
  nameSelect = 1
)

Arguments

pattern

character string containing a regular expression to be matched in the given character vector.

header

a logical value indicating whether the file contains the names of the variables as its first line.

sep

the field separator character of the separate file.

stringsAsFactors

logical: should character vectors be converted to factors?

namesSep

colnames separator.

colSelect

column index to merge.

nameSelect

name index of separated colnames to be new colnames.

Value

generate a expression matrix (eSet).

Examples

1
 mergeStarOutput(pattern =  ".*count.tab",header = F,sep = "\t",stringsAsFactors = F,namesSep="\\.",colSelect=c(1,2),nameSelect=1)

xianxiongma/mxxfpkg documentation built on May 12, 2021, 6:56 a.m.