[Bioc-sig-seq] reduce in ShortRead

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Thu Jul 21 03:16:52 CEST 2011


L means integer (it is not obvious)

1 in R gets interpreted as a double, while 1L is an integer.  For many
use cases it doesn't matter, but on the other hand many people have
started to use L to indicate that they are specifically using integer
values.

If you have a variable, what you can do is
  as.integer(GAP)

Kasper

On Wed, Jul 20, 2011 at 9:07 PM, Kunbin Qu <KQu at genomichealth.com> wrote:
> Hi,
>
> In the "reduce" function from ShortRead, the "min.gapwidth" normal ends with an "L". If I have a variable, say named, GAP. How do I append the "L" after the variable GAP? Or is the "L" important at all? The result I got from with/without seems quite different. Thanks.
>
> -Kunbin
>
>
>
> ______________________________________________________________________
> The contents of this electronic message, including any attachments, are intended only for the use of the individual or entity to which they are addressed and may contain confidential information. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this message or any attachment is strictly prohibited. If you have received this transmission in error, please send an e-mail to postmaster at genomichealth.com and delete this message, along with any attachments, from your computer.
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-sig-sequencing mailing list
> Bioc-sig-sequencing at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
>



More information about the Bioc-sig-sequencing mailing list