Header Leaderboard Ad

Collapse

the usage of qvalue

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • the usage of qvalue

    hi,

    I just want to import my data in the package qvalue under R environment.

    The file name is test_soma.txt.

    The data format is just as follow:


    0.0642720365
    0.0642720365
    0.0642720365
    0.0642810982
    0.0642810982
    0.0642810982
    0.0643117914
    0.0643117914

    Please see the attached file.

    How can I import my data in qvalue package?

    Thanks in advance for great help!


    Yue
    Attached Files

  • #2
    Code:
    library(qvalue)
    
    # If the file is still zipped
    data <- read.table(gzfile("testis_soma.txt.gz")) 
    
    # If the file is unzipped, use read.table directly instead.
    #data <- read.table("testis_soma.txt") 
    
    qobj <- qvalue(p=data$V1)
    
    qvalues <- qobj$qvalues
    pi0 <- qobj$pi0
    lfdr <- qobj$lfdr
    
    summary(qobj)
    hist(qobj)
    plot(qobj)
    Last edited by blancha; 07-15-2015, 06:56 AM.

    Comment


    • #3
      Thanks, blancha!

      Your answer really help me. I appreciate!

      Yue

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 06-07-2023, 07:14 AM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-06-2023, 01:08 PM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-01-2023, 08:56 PM
      0 responses
      164 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-01-2023, 07:33 AM
      0 responses
      299 views
      0 likes
      Last Post seqadmin  
      Working...
      X