read.sam: Read SAM files.

Description Usage Arguments Details Value Author(s) Examples

View source: R/1_SAM_read.R

Description

Reads SAM file creates a data.frame

Usage

1
read.sam(myfile)

Arguments

myfile

the name of the fasta file which the data are to be read from.

Details

This funtion reads SAM file reverts header to columns and outputs a "data.frame".

Value

a data.frame.

Author(s)

Grischa Toedt, Vladislava Milchevskaya milchv@gmail.com

Examples

1
2
3
4
5
6
7
sam_file <- 
 dir(system.file("extdata",package="pdProbeRemap"), 
                  pattern="example_drosophila.Aligned.out.sam",
                  full.names=TRUE)
SAM_list <- read.sam(sam_file)
SAM_list$x
SAM_list$header

VladaMilch/pdProbeRemap documentation built on May 28, 2019, 3:21 p.m.