Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8383509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:10:48+00:00 2026-06-09T17:10:48+00:00

Iam rather new to R and have problem with indexing though I went through

  • 0

Iam rather new to R and have problem with indexing though I went through a number of tutorials.For instance in the following case I have a list of probenames with the corresponding significant p-values as follows

      unique.et.                                            pBH
1     AFFX-r2-P1-cre-5_at                                   1.646105e-14
2     AFFX-r2-P1-cre-3_at                                   1.752547e-14
3     AFFX-r2-Ec-bioD-5_at                                  2.426254e-14
127            267584_at                                    1.820809e-14
149            267562_at                                    1.646105e-14
200            267511_at                                    1.880226e-14

and the below is the original matrix from which I have to extract only the probes with significant p-Values so that I will get to have the signal intensity values.

AFFX-r2-P1-cre-2_at 12.16271 12.70304 12.16271 12.70304 12.16271
AFFX-r2-P1-cre-3_at 12.70304 12.28280 12.35039 12.38397 12.36304
AFFX-r2-P1-cre-5_at 12.28280 12.35039 12.38397 12.36304 12.16271

So if i consider the probe named AFFX-r2-P1-cre-5_at with p value 1.646105e-14 Iwould need to extract the same probe from a list of other probes along with the intensity values. I tried out but could not do it.

I would also like to ask you all if there are tutorials with clear examples so that i can understand the concept.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:10:50+00:00Added an answer on June 9, 2026 at 5:10 pm
    #data.frame with significant cases
    df1 <- read.table(text="      unique.et.                                            pBH
    1     AFFX-r2-P1-cre-5_at                                   1.646105e-14
    2     AFFX-r2-P1-cre-3_at                                   1.752547e-14
    3     AFFX-r2-Ec-bioD-5_at                                  2.426254e-14
    127            267584_at                                    1.820809e-14
    149            267562_at                                    1.646105e-14
    200            267511_at                                    1.880226e-14",header=T,stringsAsFactors=FALSE)
    
    #all data
    df2 <- read.table(text="AFFX-r2-P1-cre-2_at 12.16271 12.70304 12.16271 12.70304 12.16271
    AFFX-r2-P1-cre-3_at 12.70304 12.28280 12.35039 12.38397 12.36304
    AFFX-r2-P1-cre-5_at 12.28280 12.35039 12.38397 12.36304 12.16271",header=F,stringsAsFactors=FALSE)
    
    #select cases of df2 that occur in df1
    df2[df2$V1 %in% df1$unique.et,]
    #                   V1       V2       V3       V4       V5       V6
    #2 AFFX-r2-P1-cre-3_at 12.70304 12.28280 12.35039 12.38397 12.36304
    #3 AFFX-r2-P1-cre-5_at 12.28280 12.35039 12.38397 12.36304 12.16271
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm rather new to ClearCase but have searched through a lot of solutions to
I have another rather curious problem. I have the following structure: CREATE TABLE [dbo].[Event]
I am rather new to Flex and have a problem with a scrollbar for
I am rather new to flash/actionscript and I have encountered a problem. I need
I am rather new to django templates and have an impression that I have
Iam using structure map for resolving my dependencies, however i have a rather special
I have recently built a list view which shows a number of products taken
I have a rather peculiar problem. I am using CellTable from GWT 2.2 release.
I am rather new to Wordpress and have a question. I have created my
I am new to ZF and I have problem with even simple tasks. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.